import axios from 'axios';
let baseURL='http://192.168.1.1:8000/user/login';
var data = {age: 18};
axios.post(baseURL,data,
{headers: {'Content-Type': 'application/x-www-form-urlencoded'}}
).then(result => {
// do something
})
import axios from 'axios';
let baseURL='http://192.168.1.1:8000/user/login';
var data = {age: 18};
axios.post(baseURL,data,
{headers: {'Content-Type': 'application/x-www-form-urlencoded'}}
).then(result => {
// do something
})