Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2280 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
2558
3
ago 25
3294
1
jun 25
1563
3
jul 25
3226
1
may 25
1375