-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugUnexpected or incorrect behaviorUnexpected or incorrect behaviorfeedback providedFeedback has been provided to the authorFeedback has been provided to the author
Description
Hi.
I came from #838
This has been fixed in #841
When i use the code from last comment:
@RequestLine(value = "GET /index.php?/api/v2/get_tests/{runId}")
@Headers({
"Content-Type: application/json",
"Accept: */*",
})
Test[] getTestsByRunId(@Param(value = "runId") Integer runId);
i get the following error even though i use the GET method (hide server & Authorization string):
[feign.Logger] ---> GET https://testrail.server.domen/testrail/index.php?/api/v2/get_tests/999 HTTP/1.1
[feign.Logger] Accept: */*
[feign.Logger] Authorization: Basic *hidden*
[feign.Logger] Content-Length: 13
[feign.Logger] Content-Type: application/json
[feign.Logger]
[feign.Logger] {"runId":999}
[feign.Logger] ---> END HTTP (13-byte body)
[feign.Logger] <--- HTTP/1.1 404 File Not Found (974ms)
[feign.Logger] connection: keep-alive
[feign.Logger] content-length: 61
[feign.Logger] content-type: application/json; charset=utf-8
[feign.Logger] date: Thu, 03 Oct 2019 08:58:19 GMT
[feign.Logger] server: nginx/1.10.2
[feign.Logger] x-powered-by: PHP/5.4.45
[feign.Logger]
[feign.Logger] {"error":"Unsupported HTTP method \"post\" for this action."}
[feign.Logger] <--- END HTTP (61-byte body)
```
choojoykin and velo
Metadata
Metadata
Assignees
Labels
bugUnexpected or incorrect behaviorUnexpected or incorrect behaviorfeedback providedFeedback has been provided to the authorFeedback has been provided to the author