Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2299 Widoki
how json read record from odoo and post to web and return to odoo
Awatar
Odrzuć
Autor Najlepsza odpowiedź
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)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lip 22
2576
3
sie 25
3349
1
cze 25
1620
3
lip 25
3267
1
maj 25
1410