Axios request send a undefined value in raw instead of HTTP

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.

Need more of the code to really resolve, but it looks like you don’t have access to the creds variable. It might be as easy as adding a this.cred.username in front of it, If that’s not it, post more of the code so we can get a bigger picture.

Thank you very very mutch for your attention.
I veryfied the ‘cred’ variable with a log and it’s ok:

 startLogin(creds){           
                console.log("creds",creds);
            var data={
                email:    creds.username,
                username: creds.username,
                password: creds.pass
            };

            var href="http://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);                   
            });
        },

As can you see it is passed to function in a good way.
this is the console reply:

creds ->  Object { username: "pippo", pass: "pappa" } appLogin.js:2239:15