---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Define a REST message HTTP method

# Define a REST message HTTP method {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Define an HTTP method such as GET or POST to send a request to a web service
provider.

## Before you begin

Role required: web_service_admin

## About this task

When you create a REST message record, several default HTTP methods are automatically created using settings inherited from the REST message record, such as the Endpoint. Subsequent changes to the REST message record are not applied to the HTTP methods automatically. You can create additional HTTP methods or modify the default HTTP methods to implement new behavior.

## Procedure

1. Navigate to AllSystem Web ServicesOutboundREST Message.
2. Select a REST message you want to define an HTTP method for.
3. In the HTTP Methods related list, click New.
4. Select the HTTP method you want to use, such as GET or POST.
5. Enter the Endpoint this HTTP method should access.  
   The endpoint value may include variables using the format ${variable}.
6. Right-click the form header and select Save.

## What to do next

After creating the HTTP method, you can override the security settings from the parent REST message, configure HTTP headers, add variables, or test the method. For PUT, POST, and PATCH methods you can define a message body.
* **[Testing REST message HTTP methods](https://servicenow-prod.fluidtopics.net/mFMgm4tVw1gFAJPxsS1T0w)**   
  Test an HTTP method for an outbound REST message to ensure that the request is valid and the response returns as expected.

*[\>]: and then


