Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2660 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
2897
2
out. 25
2517
1
set. 25
2499
3
ago. 25
4485
3
jul. 25
3968