Search found 3 matches
- Fri Feb 11, 2011 1:03 am
- Forum: newLISP in the real world
- Topic: How to access body of PUT or POST request?
- Replies: 1
- Views: 958
How to access body of PUT or POST request?
I'd like to implement a REST server by running newlisp in http-only mode, and intercepting requests with "command-event". However, the argument to command-event only contains the method, header and http version. Is there a way to access the "raw" request body, and thereby gain access to the content ...
- Tue Jan 26, 2010 8:18 pm
- Forum: newLISP in the real world
- Topic: strange behavior with command-event?
- Replies: 2
- Views: 1114
Re: strange behavior with command-event?
Lutz - Thanks for your quick response! It was very helpful.
- Tue Jan 26, 2010 6:30 pm
- Forum: newLISP in the real world
- Topic: strange behavior with command-event?
- Replies: 2
- Views: 1114
strange behavior with command-event?
I'm a newcomer to newLISP. I've been playing around with url-rewriting using command-event, and ran into a behavior I wasn't expecting. My intention was to redirect all http requests to "request.html", parsing the http method and the url (minus the query string, if any) out of the original request a...