コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2553 ビュー
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
2822
1
9月 25
2302
3
8月 25
4254
1
6月 25
2311
3
7月 25
3807