Skip to content

More examples for CURL - #4612

Merged
lacatoire merged 3 commits into
php:masterfrom
colshrapnel:patch-9
Aug 21, 2026
Merged

More examples for CURL#4612
lacatoire merged 3 commits into
php:masterfrom
colshrapnel:patch-9

Conversation

@colshrapnel

Copy link
Copy Markdown
Contributor

Added examples for the most used requests

@colshrapnel

Copy link
Copy Markdown
ContributorAuthor

There was a man on Reddit, upset with CURL requests in PHP being too complex. I suppose it's just a documentation problem that could be easily fixed. Also, the most common use cases are POST and JSON POST requests.

As usual, I request a grammar proofread and overall supervision.

Note that distinct CURLOPT_METHOD is not needed as per https://curl.se/libcurl/c/CURLOPT_POST.html

@lacatoire

Copy link
Copy Markdown
Member

@colshrapnel would you rebase your branch ?

Added examples for the most used requests
@lacatoire
lacatoire merged commit e7c6a2f into php:masterAug 21, 2026
2 checks passed
Sign up for freeto 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.

3 participants

@colshrapnel@lacatoire@jordikroon