<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "swift: -"
  ],
  "documentType" : "symbol",
  "framework" : "Social",
  "identifier" : "/documentation/Social/SLRequest/init(forServiceType:requestMethod:URL:parameters:)-92b1d",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Social"
    ],
    "preciseIdentifier" : "c:objc(cs)SLRequest(cm)requestForServiceType:requestMethod:URL:parameters:::SYNTHESIZED::c:objc(cs)SLRequest"
  },
  "title" : "init(forServiceType:requestMethod:URL:parameters:)"
}
-->

# init(forServiceType:requestMethod:URL:parameters:)

```
init!(forServiceType serviceType: String!, requestMethod: SLRequestMethod, URL url: URL!, parameters: [AnyHashable : Any]!)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)