how json read record from odoo and post to web and return to odoo
Denna fråga har flaggats
1
Besvara
3892
Vyer
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)
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
0
juli 22
|
4268 | ||
|
|
0
juni 26
|
342 | ||
|
|
0
mars 26
|
16 | ||
|
|
2
mars 26
|
4420 | ||
|
|
1
nov. 25
|
9451 |