Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2295 Vistas
how json read record from odoo and post to web and return to odoo
Avatar
Descartar
Autor Mejor respuesta
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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
jul 22
2574
3
ago 25
3339
1
jun 25
1616
3
jul 25
3262
1
may 25
1403