Skip to content

Instantly share code, notes, and snippets.

@andresmafra
Created May 15, 2022 11:32
Show Gist options
  • Save andresmafra/b7553c79da81873206cf47481e9e8a67 to your computer and use it in GitHub Desktop.
Save andresmafra/b7553c79da81873206cf47481e9e8a67 to your computer and use it in GitHub Desktop.
import requests
url = "https://api.vistoriei.com.br/v1/contract/ID_DA_VISTORIA"
payload={}
headers = {
'Authorization': 'Bearer {SEU_TOKEN}'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment