# Install the command line client
$ pip install coreapi-cli
# Install the Python client library
$ pip install coreapi
externals
create
POST/api/externals/
# Load the schema document
$ coreapi get http://api-gateway.bizonfactoring.md/
# Interact with the API endpoint
$ coreapi action externals create
var coreapi = window.coreapi // Loaded by `coreapi.js`
var schema = window.schema // Loaded by `schema.js`
// Initialize a client
var client = new coreapi.Client()
// Interact with the API endpoint
var action = ["externals", "create"]
client.action(schema, action).then(function(result) {
// Return value is in 'result'
})
import coreapi
# Initialize a client & load the schema document
client = coreapi.Client()
schema = client.get("http://api-gateway.bizonfactoring.md/")
# Interact with the API endpoint
action = ["externals", "create"]
result = client.action(schema, action)