Skip to Content
Menu
This question has been flagged
1 Atsakyti
2716 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
2951
2
spal. 25
2598
1
rugs. 25
2598
3
rugp. 25
4630
3
liep. 25
4037