Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SetRequestHeaders – PB Docs 2022 – PowerBuilder Library

SetRequestHeaders – PB Docs 2022

SetRequestHeaders

PowerScript function

Description

Sets all of the request headers.

Applies to

HTTPClient and RestClient objects

Syntax

Argument

Description

objectname

The name of the HTTPClient or RestClient object in which
you want to set the request header

headers

A string whose value is the information of all of the
headers

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, the method returns null.

Examples

See also

ClearRequestHeaders

GetRequestHeader

GetRequestHeaders

SetRequestHeader


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x