# Basic HTTP Authentication The simplest way to interact with Aidbox API from your application is to use [the 'Basic' HTTP Authentication](https://datatracker.ietf.org/doc/html/rfc7617). It requires the client to provide credentials in the request header `Authorization: Basic `, where `` is the base64 encoded Client.id and Client.secret joined by a colon: ```yaml GET /fhir/Patient Accept: text/yaml Authorization: Basic {base64(Client.id + ':' + Client.secret)} ``` Basic Auth does not natively provide features such as session invalidation, and the credentials stay constant unless changed. As a result, it is typically used for internal services or quick proofs of concept where heightened security and user management systems are not critical concerns. ## Basic Auth in Aidbox Sandbox
Aidbox Sandbox UI showing Basic Auth testing interface
The easiest way to test Basic Auth is to run through the Aidbox Sandbox UI (_Auth -> Sandbox -> Basic Auth_). See tutorial: {% content-ref url="../../tutorials/security-access-control-tutorials/basic-auth.md" %} [basic-auth.md](../../tutorials/security-access-control-tutorials/basic-auth.md) {% endcontent-ref %}