Attaching image via REST API [Feb 14]

:raising_hand_man: electric asked

Hello everyone. How to add a record to a table via REST API with sending a file to a Attachment Type Column? Maybe example in Postman?

:person_tipping_hand: o1lab replied

you would have to upload the image

then update teh column

:person_tipping_hand: o1lab replied

How to upload image using rest api? · Discussion #369 · nocodb/nocodb · GitHub

:raising_hand_man: electric replied

where are the files uploaded? I thought in the DB table in a blob?

:person_tipping_hand: o1lab replied

Nope on file system - if S3 is not configured

:person_tipping_hand: o1lab replied

From the docs

:person_tipping_hand: o1lab replied

To persist data in docker you can mount volume at /usr/app/data

:raising_hand_man: electric replied

yes thanks, i already found it

image0

Autogenerated from discord


Join NocoDB’s community

DiscordTwitterRedditDocs