SocialRequest.GetRequestMethod
------------------------------

Queries request method.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Social](component_Social.md) | [5.3](newinversion53.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "SocialRequest.GetRequestMethod"; Request ) 

**MBS**( **"SocialRequest.GetRequestMethod";** /\* Queries request method. \*/  
**$Request**) /\* The reference number for the social request as you got it from [SocialRequest.New](SocialRequestNew.md) function. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Request | The reference number for the social request as you got it from [SocialRequest.New](SocialRequestNew.md) function. | $request |

### Result

Returns method or error.

### Description

Queries request method.  
Returns POST, GET, DELETE or PUT.  
### Examples

Check request method:

 Set Variable \[ $request ; Value: MBS ( "[SocialRequest.New](SocialRequestNew.md)"; "Twitter"; "https://api.twitter.com/1.1 /statuses/update.json"; "POST") \]   
Show Custom Dialog \[ "URL" ; MBS ( "SocialRequest.GetRequestMethod"; $Request ) \]   
Set Variable \[ $r ; Value: MBS ( "[SocialRequest.Release](SocialRequestRelease.md)"; $request ) \]  
### See also

- [SocialRequest.New](SocialRequestNew.md)
- [SocialRequest.Release](SocialRequestRelease.md)
- [SocialRequest.SetRequestMethod](SocialRequestSetRequestMethod.md)

This function is free to use.

Created 28th August 2015 , last changed 12nd June 2020

  
[SocialRequest.GetParameterCount](SocialRequestGetParameterCount.md) - [SocialRequest.GetResponse](SocialRequestGetResponse.md)

[HTML Version](SocialRequestGetRequestMethod.shtml)