News for hackers. Stuff that matters.
Re:Ask HN: What tool do you use to “call” your back-end APIs... by abunuwas on Wednesday March 31, 2021 @06:11AM (#26645423)
It depends on what check I'm making. If I just want to make a quick check, that's cURL. If I'm making the same check repeatedly, I may use Postman or something similar so that I can easily save the request test. If I want to make sure the API endpoint is working correctly and returning responses in the expected format, I'd run Dredd tests. I love this question because it gives me an idea for a feature in an app I'm currently building to test APIs (https://www.microapis.io) - be able to run it against your local server and run tests against it.
Re:Ask HN: What tool do you use to “call” your back-end APIs... by jonpalmisc on Friday March 26, 2021 @10:29AM (#26592582)
HTTPie is really good if you aren’t doing anything super complex. Postman is a little more than I need nowadays. If you don’t want to leave your browser, there’s another tool called Hoppscotch which is similar to Postman. All are perfectly capable, just depends what you want to do and how you like to work.
Re:Ask HN: What tool do you use to “call” your back-end APIs... by ramitmittal on Friday March 26, 2021 @01:41PM (#26594840)
I did not know about Hoppscotch. I will surely check it out.
Re:Ask HN: What tool do you use to “call” your back-end APIs... by rubans on Friday March 26, 2021 @04:35AM (#26589920)