file-store-api

command module
v0.0.0-...-4b1035e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

README

File-store-api

api

An example http request to send to upload a file to the server:

curl -X 'POST' \
'http://127.0.0.1:10001/file' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-H 'X-Openline-API-KEY: 9eb87aa2-75e7-45b2-a1e6-53ed297d0ba8' \
-H 'X-Openline-USERNAME: alex@openline.ai' \
-F 'file=@test1.pdf'
curl -X 'GET' \
'http://127.0.0.1:10001/file/598abeb1-2979-4a0a-b2fd-f7441c2c4366' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-H 'X-Openline-API-KEY: 9eb87aa2-75e7-45b2-a1e6-53ed297d0ba8' \
-H 'X-Openline-USERNAME: alex@openline.ai' 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL