larksuite / larksuite/oapi-sdk-java
关于POST 请求url上 被动加上/open-apis 问题
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 310
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
// 构建请求
Request<Map<String, Object>, Map<String, Object>> request = Request.newRequest("approval/openapi/v2/approval/get",
"POST", AccessTokenType.Tenant, body, new HashMap<>());
的时候 最终url 会变成 https://open.feishu.cn/open-apis/approval/openapi/v2/approval/get
而正确的请求是https://www.feishu.cn/approval/openapi/v2/approval/get
请问现在该怎么支持审批这块呢
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 at the Request.newRequest call shown in the issue and trace how the request URL is assembled, especially where /open-apis is added. Verify whether the base path can be configured for approval/openapi/v2/approval/get. Done means the POST request can target https://www.feishu.cn/approval/openapi/v2/approval/get without the unwanted prefix; no file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100