|
|
|
|
WebserviceWriteHTTPHeader (Function) In french: WebserviceEcritEntêteHTTP
Not available
Adds an additional HTTP header to a request of a REST web service. This HTTP header will be returned to the client with the response next time the REST web service is called. // Allows the call to the webservice from any site in a browser. WebserviceWriteHTTPHeader("Access-Control-Allow-Origin", "*") Syntax
WebserviceWriteHTTPHeader(<Name of HTTP Header> , <Header value>)
<Name of HTTP Header>: Character string Name of the HTTP header to write. <Header value>: Character string Value (or content) of the HTTP header to write. Remarks - The WEBDEV Application Server forces the value of some HTTP headers ("Content-Length", for example). In this case, the value written by WebserviceWriteHTTPHeader will be ignored.
- When this function is called successively for the same HTTP header name, only the last value is taken into account.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|