I’m creating a CRUD style API using PHP Tonic that uses the same URL (for instance /somepath/person) to which you can do POST, GET, PUT and DELETE requests. But I’ve run into a problem with testing the API. It’s obviously easy to test GET (just visit the URL with a browser) but how can I test the remaining 3 request methods?
I’m imagining a desktop CRUD client where I get a simple text box in which to put query parameters, an URL box and a send button.
Does an application like this already exist, or will I have to make one?
Alternative question, can I use CURL for this? In which case, how?
Well , Very good question! The following Chrome extensions can get the job done
Second answer, yes curl can do the job for you – here’s an example.