check request method when call function request_body().