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:
webcat2b12 CGI -- Date comparisons (1997)
GrandTotal not right (1997)
Possible Bug in 2.0b15.acgi (1997)
WCS Newbie question (1997)
Transferring [cart] to Database (1997)
Accepting credit cards (1997)
Bad Words Filter (2005)
WebCat2 Append problem (B14Macacgi) (1997)
RE: File Uploads (1998)
Showing unopened cart (1997)
bug in [SendMail] (1997)
no global [username] or [password] displayed ... (1997)
Bug in random search - MacOS v4.5 plugin ... (2002)
Sorting LISTFILES (1997)
Shell traceroute (2001)
FileMaker and WebCat (1999)
Modulo function? (2000)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
using showpage and showcart commands (1996)
creator code (1997)