Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on piefed.social
piefed_dev·PieFed DevelopersbyDeckPacker

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?

View original on piefed.social
7

4 replies

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.

2

You reached the end