title: Replace nuSOAP with cURL
body: <p>I have a PHP script that syncs data with a third party service, and I would like to, if possible, replace nuSOAP with cURL as I have heard cURL is faster. The web service I am calling just takes simple HTTP post and returns it, so the cURL parameters shouldn't be too involved.</p>
  
  <p>I need to pass 4 things, a user id, password, organization id, and the name of the web service to receive data from.</p>
  
  <p>Which part of the cURL options do I pass them? I was trying to pass them in the header, but I am not sure if that is correct. I kept receiving 'Bad Request (Invalid Number)' error.</p>
  
  <p>Edit: I am setting the HTTPHEADER but it looks like its still setting it to text/html.</p>