how json read record from odoo and post to web and return to odoo
This question has been flagged
1
Odgovori
3864
Prikazi
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!
Prijavi| Related Posts | Odgovori | Prikazi | Aktivnost | |
|---|---|---|---|---|
|
|
0
jul. 22
|
4236 | ||
|
|
0
jun. 26
|
342 | ||
|
|
0
mar. 26
|
16 | ||
|
Timesheet App in backoffice
Solved
|
|
2
mar. 26
|
4355 | |
|
|
1
nov. 25
|
9406 |