Skip to content

add comment for bodyType param #259

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

Merged
merged 2 commits into from
Jun 1, 2025

Conversation

Yiming1997
Copy link
Contributor

Add comment for bodyType param to avoid confusion during usage

@Yiming1997 Yiming1997 requested review from a team as code owners May 31, 2025 11:49
client.go Outdated
Comment on lines 887 to 893
// Common content type values include:
// - "application/json" : For JSON-encoded data
// - "application/xml" : For XML payloads
// - "text/plain" : For plain text
// - "application/octet-stream" : For binary data
// - "application/x-www-form-urlencoded": For form submission data
// - "multipart/form-data" : For file uploads and complex forms

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok ,already removed,thank u!

@Yiming1997 Yiming1997 requested a review from abhijeetviswa May 31, 2025 19:59
@Yiming1997 Yiming1997 closed this May 31, 2025
@Yiming1997 Yiming1997 reopened this May 31, 2025
@abhijeetviswa abhijeetviswa merged commit eeac125 into hashicorp:main Jun 1, 2025
3 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.

2 participants