• No replies
38 Posts

Pinned topic How to add HTTP headers

‏2011-04-27T19:13:29Z |
Hello,\n\nDoes anyone know how to add additional HTTP headers in the HTTP Client POST request?\n\nI need to HTTP Client POST request to look similar to this (I need to add in the \"X-SFDC-Session\") :\n\nServer: \nX-SFDC-Session: 00DT0000000Hlmc!AQsAQO6BiD8y93csMDI4ZRwTpi iTvrCPGbR.0Oxq4yp_smgn6ckNUAPZkVtFtisyvZSClXKsbulFO773mhwODLYEdxy438at\nContent-Type: application/xml\nTransfer-Encoding: chunked\nDate: Wed, 27 Apr 2011 18:56:27 GMT\n\n<?xml version=\"1.0\" encoding=\"UTF-8\"?><error\n xmlns=\"\">\n <exceptionCode>InvalidSessionId</exceptionCode>\n <exceptionMessage>Unable to find session id</exceptionMessage>\n</error>