跳至內容
選單
此問題已被標幟
1 回覆
2364 瀏覽次數
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)

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
7月 22
2635
3
8月 25
3605
1
6月 25
1869
3
7月 25
3478
1
5月 25
1605