lingochamp / lingochamp/FileDownloader
传参数问题
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 11.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
请问下面这种的该如何实现呢?
Request.Builder builder = new Request.Builder();
builder.addHeader("lang", BaseApplication.lang)
.addHeader("deviceId", Configs.deviceName);
FormBody formBody = new FormBody.Builder()
.add("menuId", menuId)
.build();
builder.post(formBody);
Request request = builder.url(url).build();
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
The issue only provides a Java example using Request.Builder and FormBody; start by locating the project's request or download API entry point that accepts request parameters. Confirm how headers and form fields are supported, and document or demonstrate the supported approach so the requested parameter passing is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100