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
2404 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
2670
3
sie 25
3755
1
cze 25
1949
3
lip 25
3540
1
maj 25
1661