Rikit (pronounced rick-it) is an API testing CLI for quick and configurable HTTP calls.
Must have .rikit.json
file in home directory
the json file should look like:
{
"sites": {
"google": {
"url": "http://google.com"
},
"digitalocean" : {
"url": "https://api.digitalocean.com",
"auth": "Bearer $TOKEN"
}
}
}
Basic GET request that looks up google in rikit.json file
rikit get google
GET request with path flag
rikit get -p /v2/actions digitalocean
if you have auth token in your config file then rikit will use that