Create or update a method

Adds or updates an HTTP method on a resource. The method defines how the client submits requests to the API.