Configuration Properties
Halchemy takes a batteries-included approach to configuration. It starts with sensible defaults, and allows you to configure everything the way you like. This page shows you what you can change, and the next page show you how you can change them.
The Api
object gives you the following configuration properties:
Default Headers
These are the headers that by default are sent with every request:
Content-type: application/json
Accept: application/hal+json, application/json;q=0.9, */*;q=0.8
Authorization: Basic cm9vdDpwYXNzd29yZA==
The default Authorization:
header is root:password
base-64 encoded. This is to provide the default credentials hypermea services use when in under development.
See the Request Headers page for more details.
Default Error Handling
There are two settings for error handling
. Here are their defaults:
See the Handling Errors page for more details.