DEV Community

Discussion on: No More postman just use cURL + vim =

Collapse
 
vonheikemen profile image
Heiker

I used to do something like this, but not as organize as you describe. Eventually it got a little messy so I ended up creating a cli tool for myself, I call it tinytina. Now I put the api info in a json file and call each endpoint with an "id".

tinytina --schema ./api-data.json --env dev run posts:list-all

I can even turn that into a curl/httpie command, so I can share it with others.

tinytina --schema ./api-data.json --env dev convert-to curl posts:list-all