24,408 questions
Tooling
0
votes
1
replies
45
views
Get data from Google Maps link
How can I programmatically extract a user’s Local Guide level and avatar name (or profile name) from a Google Maps contribution link? For instance, given a URL like the one above that points to a user’...
0
votes
1
answer
195
views
How to call a MySQL stored procedure with no parameters named 'updatebalance' from React using SpringBoot REST API
I have a stored procedure in MySQL 8.0 that works to update a running balance field in my Checkbook table. I have referenced it in my SpringBoot application and React front end. For some reason it ...
1
vote
1
answer
78
views
How to make cookies work with axios and vue3-cookies?
I have successfully created a session-based, httpOnly-cookie stored authentification process between my Vue3 frontend and Spring Boot backend. Now, since the authentification cookie is httpOnly, I ...
1
vote
1
answer
83
views
How to correctly react to a promise in Vue/axios
I'm writing a signup form with Vue 3 and use axios to check if a username is already taken. My component looks like this:
<script setup>
import { ref } from 'vue';
import axios from 'axios';
...
3
votes
0
answers
76
views
axios's onUploadProgress and FormData handling on React Native Android can fail
axios's onUploadProgress uses XMLHttpRequest under the hood in React Native, but there's a known issue where axios's FormData handling on React Native Android can fail (it sets the wrong Content-Type ...
0
votes
1
answer
104
views
Azure EasyAuth auth/me returns 401 after login
I have setup easyAuth in azure. It returns a 401 when i am not authenticated.
basically i can do:
www.MyApi.com/.autm/me => 401.
In my fe i make this call and it retruns a 401 where i then forward ...
2
votes
1
answer
65
views
Node JS AXIOS Client fail to send request to Internet
What I try that works:
npm "request" package works fine in the Node JS backend, however request is a deprecated package with security problem. I don't feel like to keep using it.
request({
...
1
vote
1
answer
123
views
Next.js API route returning 404 when calling axios.post from client component
I'm using Next.js (App Router) and I'm getting a 404 error when calling my API route from a client component.
I restarted the server, verified the folder names, and even tried hitting the URL directly,...
0
votes
0
answers
86
views
React Native (Expo SDK 54): How to encrypt request body when sending FormData (file upload)?
I’m using React Native with Expo SDK 54, and I have an API client built with Axios.
All my normal JSON requests are encrypted before being sent to a .NET 6 backend. When I send a normal JSON body, my ...
1
vote
1
answer
97
views
React/Axios file upload to Flask-RESTful gives 422 Unprocessable Entity
I'm trying to upload a file from my React frontend to a Flask-RESTful backend and I'm stuck on a 422 (UNPROCESSABLE ENTITY) error.
My backend logs show the POST request hits the right endpoint, but my ...
2
votes
0
answers
102
views
Every day, the first and only the first backend call of my Node/Express app in production fails with ERR_CONNECTION_RESET or ERR_CONNECTION_REFUSED?
I have a basic MERN app in production with a login system that always runs into either an ERR_CONNECTION_RESET or an ERR_CONNECTION_REFUSED AxiosError when first attempting to login after what it ...
3
votes
1
answer
233
views
Getting 401 Unauthorized when calling Laravel Sanctum API after Inertia login (React + Laravel)
I'm using Laravel 11 with Jetstream (Inertia + React) and Sanctum for authentication.
Everything works fine when logging in via the default Inertia login page, but when I try to call a protected API ...
0
votes
0
answers
147
views
Expo go app giving me and AXIOS Network Error in IOS simulator
I'm using the latest version of Axios and built a React Native app using expo. Trying to run it in IOS simulator but it's not working. It's giving me a Network Error.
Here's my cors in index.js:
const ...
1
vote
0
answers
77
views
Next.js 15.5:"Cookies can only be modified in a Server Action or Route Handler” when trying to set cookies inside a TypeScript Axios library
I’m developing a TypeScript library that handles authentication using Axios.
The library automatically refreshes tokens (access_token and refresh_token) and needs to save them in cookies so the user ...
0
votes
0
answers
112
views
I'm calling a SOAP service from postman and it works fine. Any idea why I get 401 when I call it from visual code?
I have a SOAP service that I need to call it. When I use postman, it works just fine. But when I'm calling it from the visual code I always get 401. Firstly, I thought that I did something wrong, and ...