how json read record from odoo and post to web and return to odoo
신고된 질문입니다
1
회신
3878
화면
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
|
4250 | ||
|
|
0
6월 26
|
342 | ||
|
|
0
3월 26
|
16 | ||
|
|
2
3월 26
|
4369 | ||
|
|
1
11월 25
|
9437 |