how json read record from odoo and post to web and return to odoo
この質問にフラグが付けられました
1
返信
3866
ビュー
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
|
4237 | ||
|
|
0
6月 26
|
342 | ||
|
|
0
3月 26
|
16 | ||
|
|
2
3月 26
|
4356 | ||
|
|
1
11月 25
|
9406 |