magento / magento/community-features
Addition of PUT, DELETE methods in Client Curl Class
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Summary (*)
The framework provides support for object-oriented curl requests, but it lags some basic HTTP request methods i.e PUT & DELETE .
Also, lacks the ability to upload a file via client curl class: \Magento\Framework\HTTP\Client\Curl
Examples (*)
Available request types:
- get($uri)
- post($uri, $params)
Proposed solution
Need 2 more basic types:
- put($uri, $params)
- delete($url)
- File upload feature
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Magento\Framework\HTTP\Client\Curl and inspect the existing get($uri) and post($uri, $params) methods. Define the expected behavior for put($uri, $params), delete($url), and file uploads, then verify that all three requested capabilities work consistently with the existing client methods.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100