Skip to Content
Menú
This question has been flagged
1 Respondre
2286 Vistes
how json read record from odoo and post to web and return to odoo
Avatar
Descartar
Autor Best Answer
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
Descartar
Related Posts Respostes Vistes Activitat
0
de jul. 22
2566
3
d’ag. 25
3314
1
de juny 25
1602
3
de jul. 25
3250
1
de maig 25
1390