Skip to content

fix: docs incorrectly added#10727

Merged
jasonsaayman merged 2 commits intov1.xfrom
docs/incorrect-docs-issue
Apr 15, 2026
Merged

fix: docs incorrectly added#10727
jasonsaayman merged 2 commits intov1.xfrom
docs/incorrect-docs-issue

Conversation

@jasonsaayman
Copy link
Copy Markdown
Member

@jasonsaayman jasonsaayman commented Apr 15, 2026

Summary by cubic

Fix incorrect FormData examples by switching to axios.postForm and cleaning up the README snippet. Updates EN/ES/FR/ZH docs to match v1.x guidance.

Description

  • Replaced axios.post with axios.postForm in maxDepth examples.
  • Unindented the README code block for clarity and simplified the security note wording.
  • Applied the same fix across EN/ES/FR/ZH multipart-form-data pages.
  • Reason: axios.postForm is the recommended API for multipart form submissions in v1.x; previous examples were misleading.

Docs

  • No new pages. Corrected code snippets and wording to reflect the recommended postForm usage.

Testing

  • No tests added; docs-only changes.

Written for commit a9a2968. Summary will update on new commits.

@jasonsaayman jasonsaayman self-assigned this Apr 15, 2026
@jasonsaayman jasonsaayman added priority::medium A medium priority commit::docs The PR is related to docs labels Apr 15, 2026
@jasonsaayman jasonsaayman merged commit 250937a into v1.x Apr 15, 2026
25 checks passed
@jasonsaayman jasonsaayman deleted the docs/incorrect-docs-issue branch April 15, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::docs The PR is related to docs priority::medium A medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant