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

[bug] Unable to receive plain text data in the request body #2032

Open
1 of 2 tasks
0stupid0 opened this issue Oct 17, 2024 · 0 comments
Open
1 of 2 tasks

[bug] Unable to receive plain text data in the request body #2032

0stupid0 opened this issue Oct 17, 2024 · 0 comments

Comments

@0stupid0
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

https://laf.run

What happened

When the data in the POST request body is plain text and 'Content-Type' is set to 'text/plain; charset=utf-8', no data can be retrieved from the query, headers, or body of the cloud function.
屏幕截图 2024-10-17 114144
屏幕截图 2024-10-17 114410
屏幕截图 2024-10-17 114442
屏幕截图 2024-10-17 114505

How to reproduce

1、Use Postman to send a request to the cloud function, set 'Content-Type' to 'text/plain; charset=utf-8', enter plain text data in the request body, and finally send the request.
2、Check if the plain text data exists in the context of the cloud function.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant