Enumeration

SLRequestMethod

Indicates the request method used in the request.

Declaration

typedef enum SLRequestMethod : NSInteger {
    ...
} SLRequestMethod;

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.

Topics

Constants

SLRequestMethodGET

Requests information from the specified resource.

SLRequestMethodPOST

Submits data to be processed.

SLRequestMethodDELETE

Deletes the specified resource.

SLRequestMethodPUT

Uses a PUT request to submit the data.

See Also

Getting the Request Details

- preparedURLRequest

Returns an authorized URL request that can be sent using an NSURLConnection object.

requestMethod

The method to use for this request.

URL

The destination URL for this request.

parameters

The parameters for this request.