Skip to content
duxt

Create a consignment

POST
{{baseUrl}}/demo/echo

The one request in this collection that books something: this site answers every request here, and this is the one that hands back a consignment.

{{token}} is a variable rather than a value — the collection names the secret, and never carries it.

Authentication

inherit

Headers

NameValue
Content-Typeapplication/json
AuthorizationBearer {{token}}

Body json

json
{
  "reference": "AB-1029",
  "mode": "air"
}

Send a request

Parameters

This body cannot be drawn as a form: edit it as JSON.

The request is sent by your browser, straight to that server.

curl '/demo/echo' \
  -H 'Accept: application/json'