forked from geolba/tethys.frontend
Progress OpenSearch. Pending solving onFilter issue with active filters
This commit is contained in:
parent
da430d6142
commit
d135ab2d50
11 changed files with 109 additions and 82 deletions
|
@ -20,6 +20,9 @@ const get = <T>(url: string, queryParams?: any): Observable<T> => {
|
|||
// Function to make a POST request using Axios wrapped in an Observable
|
||||
const post = <T>(url: string, body: any, queryParams?: any): Observable<T> => {
|
||||
// Use defer to create an Observable that makes the Axios POST request when subscribed to
|
||||
// console.log(body);
|
||||
// console.log(queryParams);
|
||||
|
||||
return defer(() => axiosInstance.post<T>(url, body, {
|
||||
params: queryParams,
|
||||
headers: {
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue