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

RequestResource – PB Docs 2019 – PowerBuilder Library

RequestResource – PB Docs 2019

RequestResource

PowerScript function

Description

Sends a request to get resource.

Applies to

OAuthClient objects

Syntax

Argument

Description

objectname

A reference to the OAuthClient object.

oAuthRequest

A reference to the OAuthRequest object specifying the
request information.

resourceResponse

A reference to the ResourceResponse object into which the
function returns the object.

Return value

Integer.

Returns the value as follows. If any argument’s value is null, the
method returns null.

1 — Success

-1 — General error

-2 — Invalid URL

-3 — Cannot connect to the Internet

-4 — Timeout

Examples

The following example shows the use of the RequestResource function
to get resource:

See also

AccessToken


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