跳至內容
選單
此問題已被標幟
1 回覆
2496 瀏覽次數
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
2768
1
9月 25
2208
3
8月 25
4162
1
6月 25
2248
3
7月 25
3763