Skip to content

File import

Request

Imports a file into OIP.

Use multipart/form-data with a required field file (the file to upload).

Curl example:

curl -X POST "http://api.oculos.no/v4/import/file" -F "file=@path/to/your/file.txt"

This endpoint may have to be configured by Oculos before usage.

Security
api_key
curl -i -X POST \
  https://api.oculos.no/v4/import/file \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Accepted