Echo response
GET https://postman-echo.com/get?foo1={{breeds}}&foo2=bar2
We can use variables using the double curly braces syntax - like {{this}}
in the text areas of the request builder. Alternatively, we can use variables under the scripting areas (Pre-request Script and Tests tabs) using syntax for the pm.*
APIs.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
foo1 | string | Use the double curly braces syntax like {{this}} in the text areas of the request builder | |
foo2 | string |
RESPONSES
status: OK
{"args":{"foo1":"[\"Abyssinian\",\"Aegean\",\"American Curl\"]","foo2":"bar2"},"headers":{"x-forwarded-proto":"https","host":"postman-echo.com","accept":"*/*","accept-encoding":"gzip, deflate","cache-control":"no-cache","cookie":"sails.sid=s%3A4jPT7oG6zJGyv4wd-tDi0MEcyCVl4uGk.5g0CcNgON9luRpDUOq4KfDRzXt9hly6CXSOzDwBrICo","postman-token":"dbc8d655-f65d-45dc-9be8-ff0275a0bfd1","user-agent":"PostmanRuntime/7.11.0","x-forwarded-port":"443"},"url":"https://postman-echo.com/get?foo1=[%22Abyssinian%22,%22Aegean%22,%22American%20Curl%22]\u0026foo2=bar2"}