7
4

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

15d 4h ago by piefed.social/u/DeckPacker in piefed_dev@piefed.social

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?

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.

That looks pretty useful, thank you!