magento / magento/community-features

Addition of PUT, DELETE methods in Client Curl Class

Open
#101 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Priority: P2
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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.