136
Postman alternatives?
(programming.dev)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Given that you have Rider, if you name a file
foo.http
it will give you an API testing tool. You can set up multiple environments (selectable in a drop down).There are a bunch of examples on the right hand side. Note the
Requests with Tests
option which also allows you to run the entire collection.And you can run some JavaScript and inject values into the client.global which would allow you to then do the desired configuration (look at
Requests with Authorization
there).... and lastly, since this is a file that's part of your Rider project, you can check it in and share it along with the rest of the code for the project.
https://www.jetbrains.com/help/rider/Http_client_in__product__code_editor.html
https://www.jetbrains.com/help/rider/Exploring_HTTP_Syntax.html