Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

WGETHEADER

The WGETHEADER subroutine allows you to retrieve sent headers.  

COMMAND SYNTAX

CALL WGETHEADER(HEADERVALUE,HEADERNAME)

SYNTAX ELEMENTS

The WSETCONTENTTYPE subroutine expects HEADERNAME to be sent and will return HEADERVALUE if found.

EXAMPLE

CALL WGETHEADER(REQESTMETHOD,"REQUEST_METHOD")

NOTES

The headers sent from the connector are determined by the connector config file.  This is to protect from Header Injection attacks. If you need additional headers refer to your connector config file and add the header.

You can also get a list of supplied headers by calling WGETOPTIONS and passing 34.

Was this article helpful?