Supported authorization headers




1) Bearer

To perform operations like search an access_token is needed as per https://tools.ietf.org/html/rfc6749#section-7.1


There must a space between "Bearer" and the access token

cURL sample

Sample header using curl


curl -v -i -k -H "Authorization: Bearer YIqxCuzgTlGjjENoa4cA25Ey8CF7gtfi" -X GET https://odoo.dev.oregional.hu/orestapi/application/status

Postman sample




2) Basic

Basic http authorization as per https://tools.ietf.org/html/rfc7617

Read more: https://en.wikipedia.org/wiki/Basic_access_authentication

cURL sample

Sample header using curl


curl -v -i -k -H "Authorization: Basic bWtkcnFEVWJQQUZXUHpUQkhNbVZlQkpqUmM5dE1NdnY6ZHNmZWY0NTQzNDN0d2xldHNnbzQ5ZXJz" -X GET https://odoo.dev.oregional.hu/orestapi/application/status

Postman sample