Internal MiServer 2.x Variable for the original HTTP request
3 posts
• Page 1 of 1
Internal MiServer 2.x Variable for the original HTTP request
Greetings.
Is there a MiServer (2.x) internal variable (e.g. req.Headers or something) that holds the original HTTP request string that was sent by the user's browser?
http://abc.com/?name=fred&city=NY&age=33&company=ABCO
Or do I need to re-construct the HTTP request string from the req.Data (for POST) and req.Arguments (for GET) ?
Thanks!
//W
Is there a MiServer (2.x) internal variable (e.g. req.Headers or something) that holds the original HTTP request string that was sent by the user's browser?
http://abc.com/?name=fred&city=NY&age=33&company=ABCO
Or do I need to re-construct the HTTP request string from the req.Data (for POST) and req.Arguments (for GET) ?
Thanks!
//W
-
woody - Posts: 144
- Joined: Tue Dec 28, 2010 12:54 am
- Location: Atlanta, Georgia USA
Re: Internal MiServer 2.x Variable for the original HTTP req
Hi Woodley,
It's in HTTPRequest.Input (req.Input).
By the way, since you're using MiServer 2, HTTPRequest is documented in the MiServer User Guide found in the Documentation folder.
I hope this helps!
/Brian
It's in HTTPRequest.Input (req.Input).
By the way, since you're using MiServer 2, HTTPRequest is documented in the MiServer User Guide found in the Documentation folder.
I hope this helps!
/Brian
-
Brian|Dyalog - Posts: 120
- Joined: Thu Nov 26, 2009 4:02 pm
- Location: West Henrietta, NY
Re: Internal MiServer 2.x Variable for the original HTTP req
Thanks, Brian!
Yes, I read section D.2 of the Feb-2012 MiServer User Guide Version 2.0 and experimented for a few hours before I posted the query on this forum.
I was tricking myself with a MiPage that used JQuery to make a POST back to the page.
My inspections of req.Input was for the JQuery call .. not the original web page request from the browser.
All set now!
Cheers,
//W
Yes, I read section D.2 of the Feb-2012 MiServer User Guide Version 2.0 and experimented for a few hours before I posted the query on this forum.
I was tricking myself with a MiPage that used JQuery to make a POST back to the page.
My inspections of req.Input was for the JQuery call .. not the original web page request from the browser.
All set now!
Cheers,
//W
-
woody - Posts: 144
- Joined: Tue Dec 28, 2010 12:54 am
- Location: Atlanta, Georgia USA
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group