how json read record from odoo and post to web and return to odoo
此问题已终结
1
回复
3894
查看
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 |