İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2293 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
2572
3
Ağu 25
3339
1
Haz 25
1615
3
Tem 25
3258
1
May 25
1399