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.
responseType
1 parent b57866d commit 18f677fCopy full SHA for 18f677f
lib/http.ts
@@ -76,7 +76,7 @@ export function postBinary(
76
headers["Content-Type"] = contentType;
77
headers["User-Agent"] = userAgent;
78
return axios
79
- .post(url, data, { headers, responseType: "text" })
+ .post(url, data, { headers })
80
.then(res => res.data)
81
.catch(wrapError);
82
});
@@ -86,7 +86,7 @@ export function del(url: string, headers: any): Promise<any> {
86
87
88
89
- .delete(url, { headers, responseType: "text" })
+ .delete(url, { headers })
90
91
92
}
0 commit comments