{{ file.name }}
+(url: string, params: P) {
+ return this.request({ method: 'get', url, payload: params })
+ }
+
+ /**
+ * Performs a POST API request.
+ * @param {String} url relative API url
+ * @param {any} payload request payload (an object) or a function that accepts `ApiNode` and returns the request payload
+ * @param {Record (url: string, payload: P, headers: Record (config: RequestConfig ): Promise = {
+ url: string
+ headers?: Record (cfg: RequestConfig ): Promise