this post was submitted on 06 Jul 2023
135 points (100.0% liked)

Programming

17024 readers
255 users here now

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

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] snowe 13 points 1 year ago (4 children)

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.

[–] jeff 4 points 1 year ago

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.

[–] prwnr 3 points 1 year ago (1 children)

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

[–] snowe 3 points 1 year ago (2 children)

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!

[–] prwnr 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] snowe 2 points 1 year ago

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?

[–] [email protected] 2 points 1 year ago (1 children)

This also exists for VSCode by the way.