Hi community!
The API im using requires enclosing square brackets.
Example:
[{"name" : "fredrick"}, ...]
But when i try this:
var params = [{"name"=>"fredrick"}];
it fails and gives me a -201 error. (INVALID_HTTP_BODY_IN_REQUEST = -201)
How can this be fixed?
(var params = {"name"=>"fredrick"}; works fine but returns an expected errogenous response from the server)