Re: [WebDNA] how can i grab the contents of a post?
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106716
interpreted = N
texte = OlinIf you are receiving XML back, you will need to parse the XMLhttp://www.webdna.us/page.dna?numero=3D284On 13/06/2011, at 12:43 PM, Olin Lagon wrote:> Aloha all, am trying to work with an API that posts an XML doc. I can =get it to post but it is not setting the XML to a formvariable. Anyone =know how I can grab the contents of the post?>=20> Here is the test code to show what is hitting our server>=20> [writefile log.txt]>=20> http header> ---------------> [ListMIMEHeaders]> [name] =3D [value]> [/ListMIMEHeaders]>=20> form vars> ---------------> [formvariables]> [name] =3D [value]> [/formvariables]> [/writefile]>=20> And here is the response. As you can see the form vars are empty :(>=20> Thanks! Olin>=20> http header> ---------------> HOST =3D www.kanuhawaii.org> Connection =3D Close> Content-Type =3D application/xml> msg-timestamp =3D 1307900329> Content-Length =3D 81>=20>=20> form vars> --------------->=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
OlinIf you are receiving XML back, you will need to parse the XMLhttp://www.webdna.us/page.dna?numero=3D284On 13/06/2011, at 12:43 PM, Olin Lagon wrote:> Aloha all, am trying to work with an API that posts an XML doc. I can =get it to post but it is not setting the XML to a formvariable. Anyone =know how I can grab the contents of the post?>=20> Here is the test code to show what is hitting our server>=20> [writefile log.txt]>=20> http header> ---------------> [listmimeheaders]> [name] =3D [value]> [/ListMIMEHeaders]>=20> form vars> ---------------> [formvariables]> [name] =3D [value]> [/formvariables]> [/writefile]>=20> And here is the response. As you can see the form vars are empty :(>=20> Thanks! Olin>=20> http header> ---------------> HOST =3D www.kanuhawaii.org> Connection =3D Close> Content-Type =3D application/xml> msg-timestamp =3D 1307900329> Content-Length =3D 81>=20>=20> form vars> --------------->=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Stuart Tremain
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Getting Rid of Multiple Returns (2001)
customer info (2001)
WebCat2b12 - New features for 1.6 users ... (1997)
WebCat with WebTen (1998)
wrong input values? (1997)
Word Break (1999)
Virtual Domains (1998)
I can help! (1996)
Beta (?) version of WebCatalog 2.1 (1998)
lookup command (1997)
NT Manual (1997)
find with exceptions (1997)
Buying sans cart (1997)
Emailer setup (1997)
form data submission gets truncated (1997)
WebCat and image maps (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
Emailer setup (1997)
WebCat2 beta 11 - new prefs ... (1997)
Multiple catalog databases and showcart (1997)