Skip to content

My requests show 403 error #64

@lmishra92

Description

@lmishra92

import requests
post_code_api = "2xdPQUdUwo124JYUgUKaP6D5GwYber kP15uSmYzi"
headers = {
"Accept": "application/json",
"Accept-Language": "en",
# this is the v1 api
# "Api-Key": post_code_api,
# this is the v2 api
"X-Api-Key": post_code_api,
}
r = requests.get("https://postcode-api.apiwise.nl/v2/addresses/?postcode=3023gd", params = headers)
print(r.status_code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions