I have two 10.3 ags servers that i thought were the same. But on one i can send this request to the rest api endpoint and it does not work:
http://xeballl03/arcgis/rest/servic...patialRel=esriSpatialRelIntersects&outFields=*&callback=dojo.io.script.jsonp_dojoIoScript5._jsonpCallback
returns
dojo.io.script.jsonp_dojoIoScript5._jsonpCallback({"error":{"code":400,"message":"Failed to execute query.","details":[]}});
but on my other 10.3 server this does work
http://xeballl03/arcgis/rest/servic...patialRel=esriSpatialRelIntersects&outFields=*
the call with the extra param in the url is being generated by a client app that i have (js api 2.0). How is that extra part generated? is it a setting in the js api?
أكثر...
http://xeballl03/arcgis/rest/servic...patialRel=esriSpatialRelIntersects&outFields=*&callback=dojo.io.script.jsonp_dojoIoScript5._jsonpCallback
returns
dojo.io.script.jsonp_dojoIoScript5._jsonpCallback({"error":{"code":400,"message":"Failed to execute query.","details":[]}});
but on my other 10.3 server this does work
http://xeballl03/arcgis/rest/servic...patialRel=esriSpatialRelIntersects&outFields=*
the call with the extra param in the url is being generated by a client app that i have (js api 2.0). How is that extra part generated? is it a setting in the js api?
أكثر...