Logo
Developer Experience API Documentation

Add placeholder text

GET https://postman-echo.com/get?foo1={{somethingForThisCollection}}&foo2={{somethingForThisEnvironment}}&foo3={{variableWithNoValue}}

Qodex relies on string substitution to render variable values in the web documentation. Use placeholder text as a variable’s value to indicate what value to use. If you leave the value blank, as shown with foo3, Qodex displays no information in the documentation.

[variable with no value displayed in web documentation](https://Qodex-web-property-assets.s3.amazonaws.com/blogs/variable-with-no-value.png)

 

Body PARAM

Key Datatype Required Description 
foo1
string
foo2
string
foo3
string



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "args": { "foo1": "I'm a collection variable", "foo2": "I'm an environment variable", "foo3": "" }, "headers": { "x-forwarded-proto": "https", "x-forwarded-port": "443", "host": "postman-echo.com", "x-amzn-trace-id": "Root=1-5f9348ab-7c5db5dd65170d762bf61195", "user-agent": "PostmanRuntime/7.26.7", "accept": "*/*", "cache-control": "no-cache", "postman-token": "b031ecb3-2c21-4269-95ce-9dbb87c0d6d5", "accept-encoding": "gzip, deflate, br", "cookie": "sails.sid=s%3A1HR5etKqkI1Y3KXgJlp82UhvSe_7UBY-.mgwHGhPny9YpvIoPrNVXDsVzxaJE0X8nUEq5ymtwwVc" }, "url": "https://postman-echo.com/get?foo1=I%27m%20a%20collection%20variable&foo2=I%27m%20an%20environment%20variable&foo3=" }

Curl
curl -X GET 'https://postman-echo.com/get?foo1=I'm a collection variable&foo2=somethingForThisEnvironment&foo3=variableWithNoValue?foo1=I'm a collection variable&foo2=somethingForThisEnvironment&foo3=variableWithNoValue'

ENDPOINTS