html.js 510 Bytes
import axios from 'axios';
const hostMath = "http://ai.natmal.com:7070";

export const checkQno = (qno) => axios.get(`${hostMath}/checkQno?qno=${qno}`);

export const saveFileAndQno = (formData) => 
{
  return axios({
    method: 'post',
    url: '/upload/html',
    data: formData,
    headers: {
        'Content-Type': 'multipart/form-data',
    },
  });
}

export const getData = (user, pageSize, currentPage,orderWhat,orderKind) => axios.post('/tikzs',{user, pageSize, currentPage,orderWhat,orderKind});