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

Request payload of Content-Type: text/plain not shown #1569

Open
kohlerdominik opened this issue Feb 28, 2025 · 1 comment
Open

Request payload of Content-Type: text/plain not shown #1569

kohlerdominik opened this issue Feb 28, 2025 · 1 comment

Comments

@kohlerdominik
Copy link
Contributor

Telescope Version

5.5.0

Laravel Version

11.34.2

PHP Version

8.3

Database Driver & Version

No response

Description

When sending an http post request with Content-Type: text/plain, the RequestEvent Payload is [] instead of showing the request content.

Steps To Reproduce

curl -X POST http://localhost/api -H "Content-Type: text/plain" -d "Some plain text test"

results in a request event with an empty payload:
Image

@kohlerdominik kohlerdominik changed the title Request body of Content-Type: text/plain not shown Request payload of Content-Type: text/plain not shown Feb 28, 2025
Copy link

github-actions bot commented Mar 6, 2025

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants