Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2285 Zobrazení
how json read record from odoo and post to web and return to odoo
Avatar
Zrušit
Autor Nejlepší odpověď
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvc 22
2564
3
srp 25
3311
1
čvn 25
1601
3
čvc 25
3247
1
kvě 25
1389