Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2415 มุมมอง
how json read record from odoo and post to web and return to odoo
อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด
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)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ค. 22
2680
1
ก.ย. 25
1975
3
ส.ค. 25
3867
1
มิ.ย. 25
2001
3
ก.ค. 25
3585