Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2515 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
2798
1
sept. 25
2239
3
aug. 25
4195
1
iun. 25
2261
3
iul. 25
3771