Perform validation on PUT request.