Skip to content

Instantly share code, notes, and snippets.

@bryanbarnard
Created April 1, 2014 03:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanbarnard/9907228 to your computer and use it in GitHub Desktop.
Save bryanbarnard/9907228 to your computer and use it in GitHub Desktop.
Sample HTTP Request - ServiceNow Direct Web Service - Incidents
POST https://demo006.service-now.com/incident.do?SOAP HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://www.service-now.com/incident/getRecords"
Content-Length: 326
Host: demo006.service-now.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Cookie: BIGipServerpool_demo006=808634890.33598.0000; JSESSIONID=4845EEC9C7ECAA69FBA52353A941BA52
Cookie2: $Version=1
Authorization: Basic YWRtaW46YWRtaW4=
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inc="http://www.service-now.com/incident">
<soapenv:Header/>
<soapenv:Body>
<inc:getRecords>
<active>true</active>
<__limit>1</__limit>
</inc:getRecords>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment