Quantcast
Viewing all articles
Browse latest Browse all 2504

REST queryResults Resource/Endpoint Not Working (1 Comment)

Topic by Mike Waldron

I'm trying to run a ROQL tabular query with the REST queryResults resource/endpoint. According to the documentation, I should be able to do this, but...ain't workin', even when I copy-and-paste the example directly out of the documentation.

One peculiarity I've noticed is if I hit

https://mysite.example.com/services/rest/connect/v1.3/queryResults/
?query=select id,subject from incidents where id<=10;

(query from the documentation) there's an extraneous space in between the last slash and the question mark...which may be an artifact of the line break. If I leave it, I get a 200 OK...but no results. If I take it out, I get a 400 Bad Request. Neither result is useful.

I'm trying to do this on Feb '16. Is there a bug in this REST resource, is something missing from the documentation, or is some other thing going on? Anyone dealt with/resolved this before?

mjw

 

 

 


Viewing all articles
Browse latest Browse all 2504

Trending Articles