curtain-web-api 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -195,7 +195,7 @@ class CurtainWebAPI {
|
|
|
195
195
|
let headers = new axios_1.AxiosHeaders();
|
|
196
196
|
headers["Accept"] = "application/json";
|
|
197
197
|
headers["Content-Type"] = "multipart/form-data";
|
|
198
|
-
return this.axiosInstance.
|
|
198
|
+
return this.axiosInstance.post(this.baseURL + "curtain/", form, { headers: headers, responseType: "json" }).then((response) => {
|
|
199
199
|
return response;
|
|
200
200
|
});
|
|
201
201
|
}
|
package/package.json
CHANGED
|
@@ -182,7 +182,7 @@ export class CurtainWebAPI {
|
|
|
182
182
|
let headers = new AxiosHeaders();
|
|
183
183
|
headers["Accept"] = "application/json";
|
|
184
184
|
headers["Content-Type"] = "multipart/form-data";
|
|
185
|
-
return this.axiosInstance.
|
|
185
|
+
return this.axiosInstance.post(this.baseURL + "curtain/", form, {headers: headers, responseType:"json"}).then((response) => {
|
|
186
186
|
return response;
|
|
187
187
|
});
|
|
188
188
|
}
|