---
title: SLRequestMethod
framework: social
role: symbol
role_heading: Enumeration
path: social/slrequestmethod
---

# SLRequestMethod

Indicates the request method used in the request.

## Declaration

```swift
enum SLRequestMethod
```

## Overview

Overview Use this constant to set the requestMethod property. The type of request to use depends on the target service. For links to documentation for the supported services, see Table 1 in SLRequest.

## Topics

### Constants

- [SLRequestMethod.GET](social/slrequestmethod/get.md)
- [SLRequestMethod.POST](social/slrequestmethod/post.md)
- [SLRequestMethod.DELETE](social/slrequestmethod/delete.md)
- [SLRequestMethod.PUT](social/slrequestmethod/put.md)

### Initializers

- [init(rawValue:)](social/slrequestmethod/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the Request Details

- [preparedURLRequest()](social/slrequest/preparedurlrequest().md)
- [requestMethod](social/slrequest/requestmethod.md)
- [url](social/slrequest/url.md)
- [parameters](social/slrequest/parameters.md)
