Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SocialRequest.SetRequestMethod
Sets the request method for this request.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Social | 5.3 | Yes | No | No | No | Yes |
Deprecated
This function was deprecated.
Parameters
| Parameter | Description | Example |
|---|---|---|
| Request | The reference number for the social request as you got it from SocialRequest.New function. | $request |
| RequestMethod | What request method to use. Can be DELETE, PUT, POST or GET. | "POST" |
Result
Returns OK or error.
Description
Sets the request method for this request.Examples
Sets request:
Set Variable [$request; Value:MBS( "SocialRequest.New"; "Twitter"; "https://api.twitter.com/1.1/statuses/update.json")]
Set Variable [$r; Value:MBS( "SocialRequest.SetRequestMethod"; $request; "POST")]
See also
Created 28th August 2015, last changed 12nd June 2020
SocialRequest.SetAccount - SocialRequest.SetServiceType
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos