Skip to Content
मेन्यू
This question has been flagged
1 Reply
2726 Views
how json read record from odoo and post to web and return to odoo
Avatar
Discard
Author Best Answer
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)

Avatar
Discard
Related Posts Replies Views Activity
0
जुल॰ 22
2952
2
अक्तू॰ 25
2606
1
सित॰ 25
2614
3
अग॰ 25
4672
3
जुल॰ 25
4047