how json read record from odoo and post to web and return to odoo
Această întrebare a fost marcată
1
Răspunde
3882
Vizualizări
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)
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
0
iul. 22
|
4250 | ||
|
|
0
iun. 26
|
342 | ||
|
|
0
mar. 26
|
16 | ||
|
Timesheet App in backoffice
Rezolvat
|
|
2
mar. 26
|
4373 | |
|
|
1
nov. 25
|
9440 |