Consuming of POST API methods

I’ve start work with SQ’s web API and I’ve found out that params have to be passed in the query string in POST requests. E. g. curl -u TOKEN: -XPOST "http://localhost:9000/api/projects/create?name=test&project=test"

I can’t find any mention of that in the documentation, could you point me out where I could find this?
Does this approach applicable to all endpoints with POST method?
Is there any way to pass params as a JSON in a request’s body? (I’ve tried to set header content-type equal to application/json, but It won’t help)


1 Like

nvm, I’ve just set content-type to 'application/x-www-form-urlencoded` and that helps

1 Like