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

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

Forge Component
Published on 2015-06-04 by Ricardo Silva
15 votes
Published on 2015-06-04 by Ricardo Silva
Processing Upload...
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 "http://..../12345.xml?api_key=" + TextVariable

or use the template function to safely create the URL.

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

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

If the 12345 is an input, you can also add it to the template: "http://.../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,