コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2361 ビュー
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
2635
3
8月 25
3600
1
6月 25
1862
3
7月 25
3478
1
5月 25
1604