I am trying to send data to SalesForce.com, but I would like to do it through AJAX. Since there are restrictions to contain XSS, I have jQuery using AJAX to submit to a PHP page on my server, and then with this page just send the form data that it submitted to the correct URL.
If I submit the form with JS turned off, everything will go fine. If I turn it on, Salesforce will confirm receipt of the data (in debug mode), but it does not appear in my queue or anywhere really, in SF. SF discards all the fields that it passed, and discards all the fields that I have in my form correctly filled.
Are there any differences between sending something using this method (jQuery $.ajax() in PHP cURL) and using the built-in HTML submit button? Something that can make SF log data, but log it differently? I tried to add the information CURLOPT_HEADER / CURLOPT_HTTPHEADER
Ben saufley
source share