Syntax 1: for TokenResponse objects – PB Docs 2017

Syntax 1: for TokenResponse objects

Description

Gets the response body into a string.

Applies to

TokenResponse objects

Syntax

Argument

Description

objectname

A reference to the TokenResponse object in which you
want to get the response body.

data

A string variable into which the function returns
data.

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

The following example shows the use of the GetBody function to get
the response body:

See also

GetAccessToken

GetExpiresIn

GetHeader

GetHeaders

GetRefreshToken

GetStatusCode

GetStatusText

GetTokenError

GetTokenType


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