MBXHttpMethod

enum MBXHttpMethod : NSInteger {}

HTTP defines a set of request methods to indicate the desired action to be performed for a given resource.

  • The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.

    Declaration

    Objective-C

    MBXHttpMethodGet
  • The HEAD method asks for a response identical to that of a GET request, but without the response body.

    Declaration

    Objective-C

    MBXHttpMethodHead
  • The POST method sends data (stored in the request body) to a server to create or update a given resource.

    Declaration

    Objective-C

    MBXHttpMethodPost