All URIs are relative to https://de.openlegaldata.io/api
Method | HTTP request | Description |
---|---|---|
tokenAuthCreate | POST /token-auth/ |
tokenAuthCreate()
var OldpApi = require('oldp-api');
var defaultClient = OldpApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
var apiInstance = new OldpApi.TokenAuthApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.tokenAuthCreate(callback);
This endpoint does not need any parameter.
null (empty response body)
- Content-Type: application/json
- Accept: application/json