Category "axios"

request url return errno: -3, code: 'Z_DATA_ERROR'

I have used three lib to request url return same error URL:https://comment.bilibili.com/558679896.xml Axios Error: Error: incorrect header check at Zlib.

How to fetch data only on first click via react-query and then disable refetch on subsequent clicks

I encountered a problem while implementing the form where the data used in select, retrieved from the database via react-query, should only be retrieved once wh

What is the proper way to pass a reactive pinia state as axios params?

I am trying to use two pinia stores for my axios params but when I send the axios request, the state is sent as a whole proxy object. stores/product-filter.js i

Somebody knows how to solve 401 Unauthorized error with Clockify API using axios and node js

Does someone know why I'm getting a 401 Unauthorized error when I try to post a request to add a time entry even though I have added my API key? I'm using Axios

VUE -axios GET does not execute

My vue porject use axios to send HTTP request. There is no problem running on Android. When running on IOS, occasionally the HTTP request is not sent. But not e

Axios getting blocked by laravel 7 cors. No "access-control-allow-origin-header"

I've a backend app working with Laravel 7 and a frontend which works with VueJs. My Laravel app is running on laradock (nginx, postgres etc...) Using Postman th

How can I fix : Request header field x-access-token is not allowed by Access-Control-Allow-Headers in preflight response?

I am trying to upload an image to Cloudinary from my local address (localhost:3000). However, when I try upload an image to it, it is giving me this error: Acce

Is there a way to make an api call within a map of another api call?

I know the title is quite confusing, I wasn't sure how to word it better. What I am trying to do is to fetch some items, map through those items to display them

Ignoring axios error for invalid certificates when creating a vscode extension

I am currently working on a Visual Studio Code extension that makes HTTPS GET requests and I am trying to ignore invalid certificates e.g. expired certificates.

TypeError: func.apply is not a function

I'm trying to use useEffect function like that: const [data, setData] = useState({ courses: [] }); useEffect(async () => { const result

How to use Axios with Vue 3 Composition API

I am attempting to build a Pokemon filtered search app with Vue 3 and Composition API based on the following tutorial: https://www.youtube.com/watch?v=QJhqr7jqx

How do I correctly call an HTTP API GET request to weatherstack?

I'm trying to do a GET request to api.weatherstack.com (see documentation). Here's my react effect hook: useEffect(() => { if (country === undefined) r

Upload Image with Axios Post request

I am trying to make a post request to an api to upload a user image and send it to the api for profile settings.But i always receive "the image field is require

bybit api spot order create nodejs

I'm using bybit api to create an order on the spot market in nodejs. i tried the below code: var params = { api_key: api['key'], qty: 30, symbol: "E

Axios in React Native doesn't provide Form-Data headers

I'm trying to upload a file via Axios (Version ^0.26.0) in React Native (Version 0.66.4) with the following code: const formData = new FormData(); formData.appe

Docker container does not respond to http request

I'm trying to send an http request through axios, from my localhost (node server) to a docker container (which contains a simple server in node too) which belon

SvelteKit API requests with Axios JWT authentication

I am creating an app with a SvelteKit client and a Laravel API stack, but I am struggling to safely authenticate my client to my API. Ideally I want to store a

Pass Data to Service in Axios

I want to set _boundry in my header. First, I dispatch the form data: //component.js const form = new FormData(); form.append('email', '[email protected]')

Vue.js: How to fill a form prepopulated with data from a get request?

I want to load data with a GET request and fill the data to the input data attributes at vue.js 3 like <input id="name" type="text" v-bind:placeholder="$t('m

How to send body data and headers with axios get request?

I've tried axios.get(url, {headers:{},data:{}}) But it doesn't work with this.