Security
We offer a possibility to add an authorization header to the custom API endpoints. You can insert a token using following option in TOPOL_OPTIONS. This authorization token will be added to all ongoing requests to your server.
js
apiAuthorizationHeader: 'Bearer token'
This will resolve in param: Authorization Bearer_token
If you want to name the param yourself you can use following option:
js
apiAuthorizationHeader: {
'Param-name': 'secret'
}