Looking for help with logging AJAX proxy calls via sforce.connection.remoteaction. How can I see what is being sent to the external server?
Also, should there be any issue with using URL parameters with this sforce.connection.remoteFunction?
Like this:
sforce.connection.remoteFunction({ <br>url : "https://domain/page?param1=xxxxx&param2=xxxxx",<br> onSuccess : function(response) { <br> alert("Success! result:" + response);<br> console.log(response); <br> }, <br> onFailure : function(response) { <br> alert("Fail! result:" + response);<br> console.log(response);<br> } <br>});
When I call the URL via the browser it appears to pass the url parameters correctly. When I use remote action I am getting a json response from the external server that the url parameters are not correctly passed through.