mathCha.js 520 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) => 
{
  console.log(formData);
  return axios({
    method: 'post',
    url: '/upload/math',
    data: formData,
    headers: {
        'Content-Type': 'multipart/form-data',
    },
  });
}

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