[ardoHTTP] How do I add URL Parameter Keys to HTTPPut?

Forge Component
Published on 20 Jan by Ricardo Silva
19 votes
Published on 20 Jan by Ricardo Silva
I am trying to do a HTTPPut and would like to find out how to add URL Parameter Keys?  I have attached an Image from Postman as a sample of how I would do that manually using that application.

Thanks for any help you can provide,
Hello Wayne,

For this you'll need to build the URL taking the parameters in mind.

You can either pass the string "https://..../12345.xml?api_key=" + TextVariable

or use the template function to safely create the URL.

"https://.../12345.xml?api_key={api_key}" and pass the value to the parameters of the URL.

An even better template could be "https://.../12345.xml{?api_key}"

If the 12345 is an input, you can also add it to the template: "https://.../users/{user_id}.xml{?api_key}"
Thanks Ricardo!  It works like a charm.  It did take me a little while to get it working because I needed to figure out to set the Content_Type to "application/xml" in the HTTPPut for it to properly send the Xml Data.  Probably something most would have known.

Thanks for your excellent support,