Getting HTTP request parameters in the elevator

I am new to the elevator and I still cannot digest its HTTP request / response loop. REST processing is explained in detail in the Lift docs, but what I'm looking for is much simpler: how do I access the body / parameters of the HTTP request in my web service (in the Scala course)?

+4
source share
2 answers

If you are using Lift 2.0, you can use S.getRequestHeader() .

+3
source

To get the HTTP parameter with the given name, you can use the S.param (parameter_name) method.

0
source

All Articles