跳至内容
菜单
此问题已终结
1 回复
2311 查看
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
2598
3
8月 25
3389
1
6月 25
1682
3
7月 25
3308
1
5月 25
1452