echo

The echo method returns the JSON request and has no other effect. It is used for testing and debugging.

Syntax

Request

{
  <any valid JSON>
}

Response

{
  <Request JSON>
}

Examples for echo

Request

{
  "Animal Count": {
    "dog": 5,
    "cat": 10,
    "cow": 2,
    "chicken": 9
  },
  "Farm": "MacDonald Farm LLC",
  "cluck-cluck": [
    "here",
    "there",
    "everywhere"
  ] 
}

Response

{
  "Animal Count": {
    "dog": 5,
    "cat": 10,
    "cow": 2,
    "chicken": 9
  },
  "Farm": "MacDonald Farm LLC",
  "cluck-cluck": [
    "here",
    "there",
    "everywhere"
  ] 
}