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
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)
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.
Check out [Lorna Mitchell's post entitled '[URL="http://www.lornajane.net/posts/2010/Three-Ways-to-Make-a-POST-Request-from-PHP"]Three Ways to Make a POST Request from PHP](http://www.lornajane.net/pages/about.html)'.
To be fair, check out the comments too!