Created
October 8, 2023 01:18
-
-
Save arthurd2/4dc9827c4467ebd2dac827150dfaccf7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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