mardi 2 avril 2019

Method not allowed when send requwest to API use JQuwery

I want get requwest to URL from page use Jquwery. Url: http://geohelper.info/api/v1/cities?apiKey=myKey&locale[lang]=uk&filter[name]=Ко

My function: $('#state').on('input', function (e) { var state_id = e.target.value;

            axios.get('http://geohelper.info/api/v1/cities?apiKey=apiKey&locale[lang]=uk&filter[name]=' + state_id)
                .then((response) => {

                })
        });

Responce: 405



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2I7jtfN
via IFTTT

Aucun commentaire:

Enregistrer un commentaire