I have a self-processing PHP form that, upon simple validation of a few fields, mails the results to a sales team. No database on this site.
I need to push the data to a CRM service and they do give a HTTP POST request sample like this:
POST /crm-service-provider-site/ HTTP/1.1
Host: mysitename.crm-service-provider-site
Content-Type: application/x-www-form-urlencoded
Content-Length: length
clientID=string¢erID=string&username=string&password=string.....etc....
How do I add this to my form? And how to generate the length of the content? (Had to strip .com’s as per forum regs)
TIA!
ETA: SOAP is also offered though I have not yet learned it. But if it’s the better solution and the learning curve isn’t too steep I am interested.