It's possible to start Frictionless API as a standalone server. This capability is highly experimental at the moment and it's not tested to be secure. Please don't use the server in production environment.
The API server are shipped as plugin so you need to install it with the core framework:
pip install frictionless[api]
pip install 'frictionless[api]' # for zsh shell
It's simple to start the API server:
frictionless api
Not you can make HTTP calls to:
http://localhost:8000
The API is the same as Python and Command-Line interfaces use.
All input data is expected to be in JSON format, for exmaple:
[POST] http://localhost:8000/extract
{
"path": "data/table.csv"
}
[
{
"id": 1,
"name": "english"
},
{
"id": 2,
"name": "中国人"
}
]
Watch the command-line session when you ran frictionless api
to get the server's logs.