HTTP headers

Request and response objects are used by REST APIs to send information between application. These objects contain HTTP headers. An HTTP header is a name/value pair included with a request or response object that provides metadata about the request or response. An HTTP header can specify information such as:

  • The format used in the request object (such as whether it is JSON or XML)
  • The format to use in the response object
  • Session and connection information
  • Authorization information

Overview of Cloud API headers

Cloud API supports standard HTTP headers, such as Authorization and Content-Type.

Cloud API also supports the following Guidewire-proprietary headers and Guidewire-proprietary values for standard headers. Every Guidewire-proprietary header is optional.

Send a request with a Cloud API header using Postman

About this task

You can include Cloud API headers in calls executed from Postman.

Procedure

  1. In Postman, start a new request by clicking the + to the right of the Launchpad tab.
  2. Specify authorization as appropriate.
  3. Add the header and header value.
    • In the first row of tabs (the one that starts with Params), click Headers.
    • Scroll to the bottom of the existing key/value list.
    • In the blank row at the bottom of the key/value list, enter the header name in KEY column and its value in the VALUE column.
  4. Enter the request operation and URL.
  5. Click Send.