# ECHO GET/POST JSON

Echo allows you to return a desired value.

Overview / explanation of the different options, links to github code.

* [ECHO Get](https://github.com/liquidapps-io/zeus-sdk/tree/master/boxes/groups/oracles/oracle-echo): `echo://${returnvalue}` - where return value is a `base64` string. `const returnvalue = Buffer.from("My return value").toString('base64')`
* [ECHO+JSON Get](https://github.com/liquidapps-io/zeus-sdk/tree/master/boxes/groups/oracles/oracle-echo): `echo+json://name/${returnvalue}`, `const returnvalue = Buffer.from('{"name":"Tal Muskal"}').toString('base64')`
* [ECHO+JSON Post](https://github.com/liquidapps-io/zeus-sdk/tree/master/boxes/groups/oracles/oracle-echo): `echo+post+json://timestamp/${body}/${content}` - where body is `const body = Buffer.from('{"block_num_or_id":"36568000"}').toString('base64')`. In this example you specify the type of request: `echo+post+json` then the key mapping `timestamp` then the body of the POST request, encoded in base64, then the URL path `const content = Buffer.from('{"timestamp":"2019-01-09T18:20:23.000"}').toString('base64');`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.liquidapps.io/liquidapps-documentation/dapp-network-services/dapp-network-services/liquidharmony/creating-an-oracle-request-uri/echo-get-post-json.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
