Programming With Only Functions
joshbohde.com4 pointsby numix1 comments
curl -H "Accept: application/xml" https://api_test:[email protected]/v1/client/list/
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns="https://api.snapbill.com/" status="ok" type="form"><fields><field type="textbox" name="query"><caption>Search query</caption></field><field type="number" name="page"><class>number</class><default>1</default><caption>Page</caption><min>1</min></field><field type="number" name="perpage"><class>number</class><default>25</default><caption>Clients per page</caption><max>50</max><min>1</min></field></fields></response>
When I try to GET https://api_test:[email protected]/v1/client/list/?..., I get the same response, which I was not expecting. I had to POST to the same URL in order to view the list, which is the wrong method.
https://github.com/defunkt/hub