how json read record from odoo and post to web and return to odoo
Це запитання позначене
1
Відповісти
3902
Переглядів
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!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
|
0
лип. 22
|
4286 | ||
|
|
0
черв. 26
|
342 | ||
|
|
0
бер. 26
|
16 | ||
|
Timesheet App in backoffice
Вирішено
|
|
2
бер. 26
|
4452 | |
|
|
1
лист. 25
|
9461 |