Gem: POST method needs "body" rather then "parameters" parameter
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- ruby
- Domain
- documentation
Research direction
Start with the POST method signature shown in the issue and compare it with the gem documentation for POST requests. Update the documented parameter from "parameters" to "body", then verify that the example matches the method signature.
Written by the indexing model from the issue text.
Description
After being unsuccessful in doing a POST request as per the documentation I dug into the code in the current version of the gem on rubygems (unirest-1.0.8) and discovered that while the documentation states that the post method takes a "parameters" parameter with the POST body, the actual method is expecting a "body" parameter.
def self.post(url, headers = {}, body = nil, &callback)
return HttpClient.request(:post, url, headers, body, &callback)
end
- Dominant language
- Ruby
- Stars
- 364
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from Kong/unirest-ruby
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Kong/unirest-ruby#55 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Kong/unirest-ruby#54 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Kong/unirest-ruby#52 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Kong/unirest-ruby#51 ·
-
Upgrade gem versionOpen
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Kong/unirest-ruby#50 · 2 comments · 9 reactions ·
All issues in Kong/unirest-ruby
Similar issues
-
Difficulty 2/5 Under an hour Newbie friendliness 72/100
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
simp/pupmod-simp-simp#428 ·
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 88/100
erkamyaman/rust-anything#614 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
rubysec/bundler-audit#481 ·