Skip to content

Instantly share code, notes, and snippets.

@arthurd2
Created October 8, 2023 01:18
Show Gist options
  • Save arthurd2/4dc9827c4467ebd2dac827150dfaccf7 to your computer and use it in GitHub Desktop.
Save arthurd2/4dc9827c4467ebd2dac827150dfaccf7 to your computer and use it in GitHub Desktop.
import requests
rest_url = 'https://dominio.br/rest/xxx/removerPessoaDefinitivamenteGoogle'
response = requests.get(rest_url, auth=( usuario , senha ), params={ 'email' : email, 'idPessoa': idpessoa } )
if response.status_code == 200:
return response.json()
return {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment