Hi Team,
I am unable to use the shared parameter in the API call.
As mentioned I am using brackets and giving the param name inside the brackets but the bubble is unable to fill it with values of those params.
Screenshots attached.
Please help.
Gagan
You have [url] twice? Shared parameters are used in the body and not the actual URL of the API.
Dear,
How shall I dynamically put the hostname in the URL?
I change the hostname often and do not want to change all the API call’s URLs every time. Any suggestions?
Example:
declare variable
hostname = ec2-18-222-1888-75.us-east-2.compute.amazonaws.com
I want to use URL like this :
http://{hostname}:8080/uem/all/posts
{hostname} shall be replaced by the value of the variable and the final URL shall become like this :
http://ec2-18-222-1888-75.us-east-2.compute.amazonaws.com:8080/uem/all/posts
Are you getting the challenge here?
Gagan
Just put the entire URL inside brackets to make it easier for yourself
[URL]