Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

Supported authorization headers


Table of Contents



Bearer

Info

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


Code Block
languagebash
themeEmacs
titlecURL sample request
linenumberstrue
curl -v -i -k -H "Authorization: Bearer YIqxCuzgTlGjjENoa4cA25Ey8CF7gtfi" -X GET https://example.com/orestapi/application/status




Basic

Info

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

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


Code Block
languagebash
themeEmacs
titlecURL sample request
linenumberstrue
curl -v -i -k -H "Authorization: Basic bWtkcnFEVWJQQUZXUHpUQkhNbVZlQkpqUmM5dE1NdnY6ZHNmZWY0NTQzNDN0d2xldHNnbzQ5ZXJz" -X GET https://odoo.dev.oregional.huexample.com/orestapi/application/status