Page 1 of 1

Get request header information in Server Code

Posted: Sun Jun 28, 2015 10:49 am
by Dongzhi Yang7528784

Hi Support team,

How can I get request header info. from Server Code?

As shown below, I have created a request with a parameter in header.
I want to get this parameter from Server code script, which this request will be calling to.
I checked this link, but there seems to be only request.body() function, no something like request.header().
Please let me know I can get the header data.
https://devcenter.appery.io/documenta...
Image

Thanks

Dongzhi


Get request header information in Server Code

Posted: Tue Jun 30, 2015 8:12 am
by Dongzhi Yang7528784

Hi Team,

Any idea regarding this one?

The solution is quite useful because it will allow creating a script and run it against multiple databases.

Regards

Dongzhi


Get request header information in Server Code

Posted: Tue Jun 30, 2015 9:29 am
by Alena Prykhodko

Hello Dongzhi,

For now there are methods that allow to work with headers and cookies, this is something we are planning to add in the future.


Get request header information in Server Code

Posted: Tue Jun 30, 2015 10:29 am
by Dongzhi Yang7528784

Alena,

Thanks. That would be something great to have.

Regards

Dongzhi


Get request header information in Server Code

Posted: Sat Apr 16, 2016 2:01 am
by apollo mcowiti

I would like this capability too!