İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2363 Görünümler
how json read record from odoo and post to web and return to odoo
Avatar
Vazgeç
Üretici En İyi Yanıt
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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Tem 22
2635
3
Ağu 25
3604
1
Haz 25
1867
3
Tem 25
3478
1
May 25
1605