5 ms·
This is why I'm building my own postman replacement which runs files stored locally (it looks something like the ES query console). It will give me a lot of fle
by miningape 2y ago
This is why I'm building my own postman replacement which runs files stored locally (it looks something like the ES query console). It will give me a lot of flexibility to change and share my requests and configurations, as well as actually letting me store my files locally.
(I'm also building an assertion feature to allow me to assert the shape/data on the request/response, which will come in very useful when testing api changes)
Here's what a request to the pokeapi looks like with a query parameter to limit the results:
```
@baseUrl = "https://pokeapi.com/api/v2 https://pokeapi.com/api/v2"
GET /pokemon
- query:
limit: 20
```
- luis_cho 2y agoTake a look at .http files. They are a file based alternative to postman. I don’t think it has the assertion feature.
- miningape 2y agoThis is incredibly similar (we even landed on the same @base syntax)! Thanks for sharing, I think I'll have to look up some parsers to see if there are any tricks I've missed. I'm also not sure if http files provide a way to share configurations across a set of files / inherit properties? - Similar to how in postman you can share a set of properties within a folder