I would like to hear if any of you are using different app for API testing than Postman.
I’m not telling that Postman is bad, but maybe there’s all that I should check out. Recently I tried RapidApi and even tho the app is kinda cool I missed few options and went back to Postman for now.
I completely stopped using all those clients. We now just store the requests alongside the code in an http file and use the built in IntelliJ HTTP Client to make the call. No need for a separate program, integrates with your code, you can save responses to make sure they don’t change, it’s all stored in git. There’s a ton of benefits and not many downsides.
What is an HTTP file?
https://www.jetbrains.com/help/idea/exploring-http-syntax.html https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0
Once I learned about http files I never went back. It’s so easy to share and use, I primarily use JetBrains but there are extensions for VSCode that do the same thing that I have used as well.
any resources to get the hang of the IntelliJ Client? cause when I tried it I kind of hit a wall not knowing where to start
just create a new file of type HTTP Request, click on the
*Examples
dropdown in the top right, choose the type of thing you want to do, copy one of the examples, and then paste it into the.http
file you created. Then hit the play button! dead simple!anywhere on the project? hmm, that sounds pretty neat.
sorry for bugging you, but do you know if there is some way to import postman collections into this kind of a file? cause I have like 100 files in postman atm
edit: nvm, just tried it out and I can get from postman a HTTP “code” and simply paste it into .request fiel.
no worries. I’m just slow to respond. Got lots going on. Seems like you figured it out though? Do you want some more guidance?
deleted by creator
This also exists for VSCode by the way.
yeah looks like it’s in visual studio too. https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0