Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2501 Tampilan
how json read record from odoo and post to web and return to odoo
Avatar
Buang
Penulis Jawaban Terbai
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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jul 22
2772
1
Sep 25
2211
3
Agu 25
4165
1
Jun 25
2249
3
Jul 25
3763