Skip to Content
Menu
This question has been flagged
1 Atsakyti
2410 Rodiniai
how json read record from odoo and post to web and return to odoo
Portretas
Atmesti
Autorius 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)

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
liep. 22
2678
1
rugs. 25
1934
3
rugp. 25
3829
1
birž. 25
1982
3
liep. 25
3568