Skip to content
index.js 370 B
Newer Older
const BASE_API_URL = "http://localhost:8081/"

export default {
  fetchMainModel () {
    return fetch(BASE_API_URL + 'groups?groupId=ROOT&tab=groups&paginatorPageSize=20&paginatorPage=1', {
      method: 'GET',
      mode: 'cors',
      cache: 'no-cache',
      credentials: 'include',
      headers: {
        'Content-Type': 'application/json'
      }
    });