Handle PUT request.