跳至內容
選單
此問題已被標幟
1 回覆
2856 瀏覽次數
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
3086
2
10月 25
2862
1
9月 25
2856
3
8月 25
5122
3
7月 25
4199