Updating method


; microsoft.support = microsoft.support updating method-35

canadian christian online dating - Updating method

Please note that POST is neither safe nor idempotent and invoking two identical POST requests will result in two different resources containing the same information (except resource ids).

Use PUT APIs primarily to update existing resource (if the resource does not exist then API may decide to create a new resource or not).

With non-idempotent operations, the algorithm may have to keep track of whether the operation was already performed or not.

In HTTP specification, The methods GET, HEAD, PUT and DELETE are declared idempotent methods.

If a new resource has been created by the PUT API, the origin server MUST inform the user agent via the HTTP response code ) response codes SHOULD be sent to indicate successful completion of the request.