codex-team / codex-team/codex-surveys

Implement a proxy for passing data to the Notion API

Open
#18 1 comment 0 reactions 1 assignee Claimed by @ktp0li View on GitHub
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We can't send data from the client-side library due to CORS restrictions. So we need a proxy that will accept passed data and re-send it to the Notion API.

1. CodeX Surveys shows the widget
2. User fills out the form and presses Submit
3. CodeX Surveys sends data to our proxy, which has `*` in CORS headers.
4. Proxy accepts data and sends it to user's Notion database

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.