RFC Generator Mexico

無料
よって jfhe88 | 更新済み a month ago | Tools
人気

9.3 / 10

レイテンシー

224ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

error al consumir desde python

Rapid account: Simpleverso
simpleverso
4 years ago

Respuesta:
<head><title>Not Acceptable!</title></head><body><h1>Not Acceptable!</h1><p>An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.</p></body></html>

Solicitud:
import requests
url = "https://jfhe88-rfc-generator-mexico.p.rapidapi.com/rest1/rfc/get"
querystring = {“solo_homoclave”:“1”,“apellido_materno”:“GARCIA”,“apellido_paterno”:“HERNANDEZ”,“fecha”:“1988-03-17”,“nombre”:“JUAN FERNANDO”}
headers = {
‘x-rapidapi-host’: “jfhe88-rfc-generator-mexico.p.rapidapi.com”,
‘x-rapidapi-key’: “e80f3fd28bmshbae11fb1c94ba45p1ebb2cjsn5ec4629455c9”
}
response = requests.request(“GET”, url, headers=headers, params=querystring)
print(response.text)

Rapid account: Mike 08 Ahj
mike08ahj Commented 3 years ago

Encontraste la solución a esto?

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿