İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2691 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
2936
2
Eki 25
2566
1
Eyl 25
2557
3
Ağu 25
4557
3
Tem 25
4005