Axios ajax call not working on safari

Posted 3 weeks ago by nhayder

I'm fetching data on my app using axios like this

        async saveText({commit}, [id, text, name, wIndex]){


            await axios.put('/api/text', {

                elem: text,

                elemName : name,

                elemId: id,


            .then(function (response) {



            .catch(function (error) {




the code is working fine on chrome but today i was testing the app on safari and was surprised that code is not working.

Any ideas why that is??? How do fix this issue

Please sign in or create an account to participate in this conversation.