We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d26a1 commit c9fefe8Copy full SHA for c9fefe8
docs/guide/advance/set-default-headers.md
@@ -14,7 +14,7 @@ const http = new HttpService([
14
const { method, headers } = ctx.request
15
// 如果是post请求
16
if (method === 'POST') {
17
- const key = 'Content-Type' // app 安卓端 jsbridge 只认这个headers key,用这个保险
+ const key = 'Content-Type'
18
ctx.request.headers = {
19
// assign
20
...(headers || {}),
docs/reference/interface-service.md
@@ -42,7 +42,7 @@ httpSvc.request(fetchConfig)
42
interface IFetchConfig {
43
url: string
44
/**
45
- * base URL(host) like '//api.bilibili.com'
+ * base URL(host) like '//api.domain.com'
46
*/
47
baseURL?: FetchBaseURL
48
0 commit comments