Skip to content

[Sync-EN] Add POST examples to the cURL examples chapter - #1778

Merged
mmalferov merged 2 commits into
php:masterfrom
lacatoire:sync-en/1666
Sep 17, 2026
Merged

mmalferov merged 2 commits into
php:masterfrom
lacatoire:sync-en/1666

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Syncs reference/curl/examples.xml with php/doc-en#4612.

  • Adds the two new examples: sending a form-encoded POST request and sending a raw JSON POST request, with their code comments translated.
  • The chapter section is retitled to the plural form, and the intro paragraph is split so the fetch-homepage example gets its own lead-in.
  • The homepage example drops its trailing ?>, as upstream.

EN-Revision bumped to e7c6a2f6847c3a8c9fec6ba588f235ccdcf6f3a5.

Fixes: #1666

@lacatoire
lacatoire requested a review from a team as a code owner August 31, 2026 10:58
@mmalferov
mmalferov merged commit 97d4917 into php:master Sep 17, 2026
4 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.

[Sync EN] More examples for CURL

2 participants