Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Encoding an XML document 1

Status
Not open for further replies.

1DMF

Programmer
Joined
Jan 18, 2005
Messages
8,795
Location
GB
Hello,

I have been tasked with URL encoding an XML document and posting it to a URL.

How do I URL encode an XML file, what does that mean and what module should I use?

many thanks
1DMF

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
doh, of course. The fact it was XML threw me. So all I need is the URI::Escape module, store the XML in a string and uri_escape the sucker!

Then post that to the API server with ESCAPED XML

now that wasn't so hard was it, thanks for the help Trojan :-)

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top