how json read record from odoo and post to web and return to odoo
Esta pregunta ha sido marcada
1
Responder
3873
Vistas
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)
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
0
jul 22
|
4240 | ||
|
|
0
jun 26
|
342 | ||
|
|
0
mar 26
|
16 | ||
|
Timesheet App in backoffice
Resuelto
|
|
2
mar 26
|
4364 | |
|
|
1
nov 25
|
9437 |