Atish Kumar Dipongkor d44be59fbe Angular File Upload bug fix (#268)
* initial fixes

* Update README.md

* Update README.md

* Update README.md

* read me updated

* read me updated

* code clean up
2017-07-21 20:59:47 +03:00

15 lines
693 B
TypeScript

export declare class BaseService {
private $http;
private $q;
private pageContext;
static $inject: string[];
baseUrl: string;
constructor($http: ng.IHttpService, $q: ng.IQService, pageContext: any);
getRequest(query?: string, endPoint?: string): ng.IPromise<any>;
postRequest(url: string, requestBody: any, endPoint?: string): ng.IPromise<any>;
updateRequest(url: string, requestBody: any, eTag: string, endPoint?: string): ng.IPromise<{}>;
deleteRequest(url: string, eTag: string, endPoint?: string): ng.IPromise<{}>;
fileUploadRequest(url: string, file: ArrayBuffer, endPoint?: string): ng.IPromise<any>;
private getFormDigestValue(webUrl);
}