Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2354 Vues
how json read record from odoo and post to web and return to odoo
Avatar
Ignorer
Auteur Meilleure réponse
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
Ignorer
Publications associées Réponses Vues Activité
0
juil. 22
2633
3
août 25
3540
1
juin 25
1804
3
juil. 25
3398
1
mai 25
1544