Shared Form View CORS [Sep 17]

:raising_hand_man: emdax asked

I’m now trying Shared Form View end-point to POST data directly to NocoDB and getting CORS error… how can I fix this in NocoDB config?

:raising_hand_man: wkw replied

can u share your setup

:raising_hand_man: wkw replied

is it running locally? docker? heroku one click?

:raising_hand_man: emdax replied

running on Ubuntu server 20.22

:raising_hand_man: emdax replied

starting from binary , using SystemD Unit File

:raising_hand_man: wkw replied

weird. the share form view link is using different port?

:raising_hand_man: emdax replied

same port, but I would like to submit to the form end-point directly from my own form on another website

:raising_hand_man: emdax replied

or submit other JSON data directly into the table from another app

:raising_hand_man: wkw replied

i dont get wt u mean by submit to the form end-point directly

:raising_hand_man: wkw replied

u embed the form in your website?

:raising_hand_man: emdax replied

no i would like to submit from another front end

:raising_hand_man: emdax replied

my own custom form POST to same url as embedded form

:raising_hand_man: wkw replied

so if i understand correctly, u hv your own frontend form, which posts the data to <host>:<port>/api/v1/db/public/shared-view/<viewId>/rows upon submission right?

:raising_hand_man: emdax replied

yes

:raising_hand_man: emdax replied

:+1:t3:

:raising_hand_man: emdax replied

exactly

:raising_hand_man: emdax replied

Any thoughts?

:raising_hand_man: emdax replied

<@495466997304262658> curious your input

:raising_hand_man: emdax replied

your summary is exactly what im looking for

:raising_hand_man: wkw replied

i dont think it s doable atm