Incorrect api call?
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
We have an Artifactory Nuget server and sometimes paket gets the response
"status" : 405, "message" : "Method Not Allowed"
In this case the url is something like
"... /api/nuget/packages-nuget/Packages?$filter=(Id eq 'packagename') ..."
I am not familiar with the api but i compared that to the other urls and found that adding "()" solves the problem:
"... /api/nuget/packages-nuget/Packages()?$filter=(Id eq 'packagename') ..."
so I cloned the repo and tried it. The attached patch fixes that for me.
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
Review the attached paket.zip patch and locate the request construction for the Artifactory NuGet Packages endpoint. Reproduce the 405 response, then verify that the request uses the parenthesized Packages() form and that the existing package lookup behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100