how json read record from odoo and post to web and return to odoo
La domanda è stata contrassegnata
1
Rispondi
3896
Visualizzazioni
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)
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
0
lug 22
|
4275 | ||
|
|
0
giu 26
|
342 | ||
|
|
0
mar 26
|
16 | ||
|
Timesheet App in backoffice
Risolto
|
|
2
mar 26
|
4439 | |
|
|
1
nov 25
|
9457 |