Info |
---|
Supported authorization headers |
Table of Contents |
---|
1)
cURL sample
Postman sample
Bearer
Info |
---|
To perform operations like search an access_token is needed as per https://tools.ietf.org/html/rfc6749#section-7.1 |
Warning |
---|
There must a space between "Bearer" and the access token |
Info |
---|
Sample header using curl |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
curl -v -i -k -H "Authorization: Bearer YIqxCuzgTlGjjENoa4cA25Ey8CF7gtfi" -X GET https://odoo.dev.oregional.huexample.com/orestapi/application/status |
2)
cURL sample
Postman sample
Basic
Info |
---|
Basic http authorization as per https://tools.ietf.org/html/rfc7617 Read more: https://en.wikipedia.org/wiki/Basic_access_authentication |
Info |
---|
Sample header using curl |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
curl -v -i -k -H "Authorization: Basic bWtkcnFEVWJQQUZXUHpUQkhNbVZlQkpqUmM5dE1NdnY6ZHNmZWY0NTQzNDN0d2xldHNnbzQ5ZXJz" -X GET https://odoo.dev.oregional.huexample.com/orestapi/application/status |