how json read record from odoo and post to web and return to odoo
此問題已被標幟
1
回覆
3893
瀏覽次數
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
|
4269 | ||
|
|
0
6月 26
|
342 | ||
|
|
0
3月 26
|
16 | ||
|
|
2
3月 26
|
4426 | ||
|
|
1
11月 25
|
9453 |