İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2503 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
2781
1
Eyl 25
2222
3
Ağu 25
4173
1
Haz 25
2251
3
Tem 25
3764