mirror of https://github.com/vernonkeenan/lib
3.2 KiB
3.2 KiB
Board.CorsApi
All URIs are relative to http://board.vernonkeenan.com:8080/v1
Method | HTTP request | Description |
---|---|---|
developerOptions | OPTIONS /developers | |
iqOptions | OPTIONS /iqs | |
leadsOptions | OPTIONS /leads | |
userAuthOptions | OPTIONS /userauths | |
userOptions | OPTIONS /users |
developerOptions
developerOptions()
CORS support
Example
import Board from 'board';
let apiInstance = new Board.CorsApi();
apiInstance.developerOptions((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Parameters
This endpoint does not need any parameter.
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
iqOptions
iqOptions()
CORS support
Example
import Board from 'board';
let apiInstance = new Board.CorsApi();
apiInstance.iqOptions((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Parameters
This endpoint does not need any parameter.
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
leadsOptions
leadsOptions()
CORS support
Example
import Board from 'board';
let apiInstance = new Board.CorsApi();
apiInstance.leadsOptions((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Parameters
This endpoint does not need any parameter.
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
userAuthOptions
userAuthOptions()
CORS support
Example
import Board from 'board';
let apiInstance = new Board.CorsApi();
apiInstance.userAuthOptions((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Parameters
This endpoint does not need any parameter.
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
userOptions
userOptions()
CORS support
Example
import Board from 'board';
let apiInstance = new Board.CorsApi();
apiInstance.userOptions((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Parameters
This endpoint does not need any parameter.
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined