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

Add header option to curl requests #1767

Merged
merged 2 commits into from
Jan 30, 2025
Merged

Conversation

bgravenorst
Copy link
Contributor

Description

The curl default is HTML, and can result in an issue if the result is "too big". To fix this add the header -H "Content-Type: application/json" to curl requests

Issue(s) fixed

Fixes #1766

Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
@bgravenorst bgravenorst requested a review from a team as a code owner January 30, 2025 01:21
Copy link

vercel bot commented Jan 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
besu-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 1:22am

@bgravenorst bgravenorst merged commit 681c11d into hyperledger:main Jan 30, 2025
10 checks passed
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

Successfully merging this pull request may close these issues.

Add content type to JSON-RPC curl example commands
2 participants