API for File Storage
Last updated
Was this helpful?
Last updated
Was this helpful?
Create a field type of link
to FileUpload
data structure
Create an API Endpoint which includes that field for POST requesting. Also, include urlLink
field for reading to get url of the uploaded file.
And now, you could send multipart/form-data
request with file (you could use any library for uploading a file to Directual)
And these API will return url to your file (if you include urlLink for GET-requesting):
Explore Directual boilerplate for ReactJS
POST to https://api.directual.com/good/api/v3/file/upload?source=others&appID=appID&appSecret=appSecret