콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2570 화면
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
2836
1
9월 25
2318
3
8월 25
4281
1
6월 25
2337
3
7월 25
3825