Questions tagged as 'axios'

1
answer

Error creating graph with API data - Axios / Vue

Hello, I'm building a graph that collects meteorological data from the city of Curitiba through an API retrieve, but nothing is collected and so the graph is not created, I'm using vue / axes for this system. > I would like a light on this pro...
asked by 27.11.2018 / 17:25
1
answer

How to clean the combo box field with AXIOS?

Context Home Items are loaded from the selected template, but items are accumulating when a new template is selected. DoubtHomeHowtoclearcomboboxdatawhenanothertemplateisselected?Becausetheitemdataisaccumulatinginthesecondcombobox.Modelcode:e...
asked by 22.10.2018 / 19:12
1
answer

Problem with PUT axios Laravel

I am using Laravel 5.6, routes and controller with resource and in the Post script the code works normally, however with the PUT it always gives error. Follow the POST working code const fileInput = document.querySelector( '#trv_arq...
asked by 20.09.2018 / 20:23
2
answers

Convert a call form action to axes

Good evening I'm having trouble converting this code <form action="https://www.personal.com.py/ApiComerciosMaven/webresources/autenticacion/" method="post"> <p> AUTENTICAR USUARIO </P> <p style="font...
asked by 29.08.2018 / 03:37
0
answers

Using PDFs with VUEjs

I would like to create a VUEjs component that would receive a base64-generated PDF page and display the page in an i-frame or whatever is best I would like to use axios to get the page     
asked by 09.08.2018 / 20:00
1
answer

require in component of vue.js

Good afternoon, I can not use the "axios" require in the vue component file. How to solve this? the file in question is home.js: const axios = require('axios'); Vue.component('home-page', { template: ' <div> <in...
asked by 02.08.2018 / 18:44
1
answer

Vue Js and PokeApi

I'm currently studying VueJs, I'm using Ajax to request the API, and integrate the application, but I've read it in different places about Axios. Why use Axios and not the "$ .Ajax"? It is more organized, secure, or simply "standard."     
asked by 16.07.2018 / 14:57
1
answer

Catch Axios error number

I am making a request, which returns me the error 401, however I can not get that number axios.post(config.urlBase+'adicionar_empresa',formData).then(res=>{if(res.data){this.refs.sucesso.openSucesso(2000);this.refs.load.closeLoad();this.l...
asked by 12.06.2018 / 21:51
0
answers

ERR_INVALID_HTTP_RESPONSE when requesting with axios on http server python

Hello, I have this simple server in python: from http.server import BaseHTTPRequestHandler, HTTPServer class S(BaseHTTPRequestHandler): def _set_headers(self): self.send_response(200) self.send_header('Content-type', 'text...
asked by 03.06.2018 / 21:49
0
answers

Ajax request does not arrive on server when body is too large

In an ajax call I make to the server in a report generation function I'm encountering a situation. In the body of the request I send a small array, with 20 positions, everything happens normally, but when I send a heavier request, with about...
asked by 25.04.2018 / 14:56