Discussions
How can I replace some variables in code example?
about 2 years ago by raigne
Like I set a required authentication in headers, in curl code. it will show automatically.
curl --request GET \
--url https://xxxxxxx \
--header 'api-secret: testtest' \
--header 'accept: application/json'
But if I want to use it in my own example, like python sdk. how can I use it.
api-secret=${api-secret}