Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2351 Visualizações
how json read record from odoo and post to web and return to odoo
Avatar
Cancelar
Autor Melhor resposta
def get_api_token(self):
data = {
'api_key': self.paymob_publishable_key
}
api_token = requests.post("https://accept.paymob.com/api/auth/tokens", json=data)
token = api_token.json()['token']
print(token)

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
jul. 22
2629
3
ago. 25
3525
1
jun. 25
1781
3
jul. 25
3384
1
mai. 25
1532