I'm having trouble with an API call. It claims I send a string, but it seems to me to be an array.
This is the full error:
Error in call to API function "https://content.dropboxapi.com/2/files/search_v2": options: expected array, got string
This is what was sent to cURL:
method:"POST"
header:"Authorization: Bearer MYTOKEN
Content-Type: application/json
Content-Length: 86"
content:"{"query":"test","options":{"path":"","max_results":100,"file_categories":"folder"}}"
ignore_errors:true
Anyone know what's wrong?