Customer request code, I test on LAN (connect to localhost: 4000):
export const senddata = data = & gt; (dispatch) = & gt; {
Dispatch (SendDataRequest ());
const url = routes.syncurl ();
axios.post (URL, DATA)
.then ((Response) = & gt; {
Console.log (Response);
Dispatch ({ResponseLink: Response.Data}));
})
.catch ((ERR) = & gt; {
Console.log (ERR);
Dispatch (SendDataFailure ({ResponseError: 'errore del Request'}));
});
};