Logo
My API Documentation

Get name

GET {{baseUrl}}/my-name?token={{token}}

This request uses the saved token collection variable to access a secret 'name' stored against that token.

In this request, we used the token collection variable as a query param to fetch the name generated for that token. We have added a test to check that a name is correctly returned.

 

Body PARAM

Key Datatype Required Description 
token
string



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X GET 'https://postman-integration-testing.glitch.me//my-name?token=?token='

ENDPOINTS