servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy sSummary12%30%58%height: 30px;3Methods SummaryvoidAdd a body parameter to the request.voidAllows setting a header on the request object.voidAdd an OAuth parameter, like 'scope', 'realm' or with the 'oauth_' prefixvoidAdd a body or a query string parameter, depending on the request type.voidAdd a query string parameter.Execute a request that was created with the OAuth service.voidSet body payload.value ;functionservoy sDetail2100%height:30px2Methods DetailsaddBodyParametername
Add an OAuth parameter, like 'scope', 'realm' or with the 'oauth_' prefix
prs
Parameters
sIndentkey;value ;one of 'scope', 'realm' or starting with 'oauth_'valuethe oauth parameter valueclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddParametername
addParameter(key, value)
dessIndent
Add a body or a query string parameter, depending on the request type.
If the request allows a body (POST, PUT, DELETE, PATCH) then it adds it as a body parameter.
Otherwise it is added as a query string parameter.