matchInfo.js 485 Bytes
import axios from 'axios';
import qs from 'qs';
export const matchInfo = (data) => 
{
    const options = {
        method: 'GET',
        headers: { 'content-type': 'application/x-www-form-urlencoded' },
        data: qs.stringify(data),
        url:'http://localhost:5000/users',
      };
   return axios(options);
  

}


//export const tikz = (id) => tikz.post(`/users?id=${id != null ? id : ''}`);
//export const testAdd = (name, tel) => client.post('/users/add', { name, tel });