Skip to content

TE-12682: Document + / %2B handling in form-encoded API bodies#2895

Draft
subhams-svg wants to merge 1 commit intoLambdaTest:stagefrom
subhams-svg:te-12682-form-encoded-special-chars-doc
Draft

TE-12682: Document + / %2B handling in form-encoded API bodies#2895
subhams-svg wants to merge 1 commit intoLambdaTest:stagefrom
subhams-svg:te-12682-form-encoded-special-chars-doc

Conversation

@subhams-svg
Copy link
Copy Markdown

Summary

Adds a new section to KaneAI - API Testing explaining how + and %2B are processed differently between manual entry in the request body editor and pasted cURL commands. This closes the documentation gap flagged on TE-12682, where customer phone-number values like +917777711791 were being decoded to a space on the wire (form-urlencoded spec behavior) and producing "Invalid Phone number" responses.

The new content covers:

  • Manual entry — both +917777711791 and %2B917777711791 are accepted; the response panel shows the resolved value.
  • cURL paste — raw + in -d is decoded to space (spec-correct); to send a literal +, encode as %2B.
  • A working example using %2B for a phone-number value.

No other content is modified; existing sections after the new one are simply renumbered (3→4, 4→5, …, 7→8).

Test plan

  • Reviewed locally via pnpm start — new section renders correctly between Adding a Curl Command and Validating API Response on KaneAI, tables display cleanly, and the code block renders.
  • Reviewer to verify wording matches the shipped KaneAI behavior on stage.

🤖 Generated with Claude Code

Adds a new section to the KaneAI API Testing docs explaining how + and
%2B are processed differently between manual entry in the body editor
and pasted cURL commands, so users can correctly send literal plus
characters (e.g. phone-number prefixes) to form-urlencoded endpoints.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@subhams-svg subhams-svg force-pushed the te-12682-form-encoded-special-chars-doc branch from 2bc7b82 to ffe1dfa Compare May 1, 2026 14:08
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.

1 participant