how json read record from odoo and post to web and return to odoo
This question has been flagged
1
Odpovědět
3859
Zobrazení
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)
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
|
0
čvc 22
|
4234 | ||
|
|
0
čvn 26
|
342 | ||
|
|
0
bře 26
|
16 | ||
|
Timesheet App in backoffice
Vyřešeno
|
|
2
bře 26
|
4350 | |
|
|
1
lis 25
|
9406 |