RFC Generator Mexico

FREE
By jfhe88 | Updated 21日前 | Tools
Popularity

9.3 / 10

Latency

231ms

Service Level

100%

Health Check

N/A

Back to All Discussions

error al consumir desde python

Rapid account: Simpleverso
simpleverso
4年前

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年前

Encontraste la solución a esto?

Join in the discussion - add comment below:

Login / Signup to post new comments