Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2406 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
2674
3
ago 25
3771
1
jun 25
1959
3
jul 25
3548
1
may 25
1669