Does anyone know of an easy way to test the API?

Hey,
so I am currently working on this issue, where I probably need to fix something with the API calls. The problem is, that I don't really know how to test this, when I did anything in the webui, it worked as expected, but I don't know of easy way to test the API without looking much deeper into it and maybe writing a python script for it or something like that. I also tried to use a third party client, like Summit, but that didn't really work with my development-instance.

Has anyone here ever dealt with this issue before and if so, how have you solved it?

7 points · 4 comments · view on lemmy.world

4 Comments

wjs018@piefed.social · 2 pts · 86d

I use httpie to do local API testing. I find it super easy, I don't need to make any kind of account (like postman really, really wants you to), and it doesn't have any issues with using a local http endpoint.

rimu@piefed.social · 1 pts · 86d (2 replies)
DeckPacker@piefed.social · 1 pts · 86d (1 reply)

That looks pretty useful, thank you!