Hi all,
when I send an axios POST request to a server I can see this raw:
POST /api/mysql_verify undefined
...
Why this ‘undefined’ value instead of the usual ‘HTTP/1.1’ ?
this is my vue code:
var data={
email: creds.username,
username: creds.username,
password: creds.pass
};
var href="https://authserver/api/mysql_verify";
axios.post(href,data).then(resp=>{
console.log("Il controller (Laravel::Mysql) ha risposto: "+resp.data.esito);
}).catch(err => {
console.log("Errore "+this.$options.name+"->startLogin su chiamata "+href+": "+err);
});
what is my mistake?
Thanks all.