Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2334 Vizualizări
how json read record from odoo and post to web and return to odoo
Imagine profil
Abandonează
Autor Cel mai bun răspuns
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)

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
iul. 22
2612
3
aug. 25
3433
1
iun. 25
1712
3
iul. 25
3336
1
mai 25
1479