Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DX] warn when making POST proxy requests and using params #1157

Open
Valahaar opened this issue Oct 20, 2023 · 0 comments
Open

[DX] warn when making POST proxy requests and using params #1157

Valahaar opened this issue Oct 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Valahaar
Copy link

From Slack.

When using nango.post, the developer should be warned if they use params instead of data.

Furthermore, the data type annotation from ProxyConfiguration is unknown.
Is it possible to change it to something a bit more specific? (also, adding a few docs would be great, e.g., how is data treated by Nango? Is it expected to be an object that is encoded as JSON later? Or can we provide an already-stringified JSON?)

@bastienbeurier bastienbeurier added the enhancement New feature or request label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants