CONSUMER: Make an Outbound REST Post - 7

NOTE:

  1. System Web Services > Outbound > REST Message.
  2. Open the REST Incident record.
  3. In the HTTP Methods Related List, open the Default GET record.
  4. Modify the following fields to create a POST HTTP Method using the Insert and Stay action.
    1. Name: POST HTTP
    2. method: POST
  5. Insert and Stay.
  6. Under the HTTP Request tab, in the HTTP Headers section, add the following.
    1. Name: Accept
    2. Value: application/json
  7. Name: Content-Type
  8. Value: application/json

    1. In the Content field, add:

      {'number':'${number}','state':'${state}','short_description':'${short_description}'}

    2. Save

    3. In the Variable Substitutions Related List, click New to create the following Variable

      Substitutions.

    4. test

    5. Verify the http status of being 201

results matching ""

    No results matching ""