WordPress / WordPress/Requests

Example of: Form authentication and storing cookie?

Open
#85 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Status: help wanted Type: documentation
Dominant language
PHP
Stars
3.6k
Forks
500
Avg merge
2d 21h
Merged PRs (30d)
5

Description

Would really like some more detailed examples.

For example, something like a POST with login credentials from a login form and storing a cookie/session in order to make additional requests

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing Requests documentation and examples for POST authentication and cookie or session handling. Add a detailed example covering login credentials, retaining the session cookie, and making a follow-up request; done means the example clearly demonstrates the complete flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.