Check if is post request for security