Skip to main content

Questions tagged [axios]

a promise based HTTP client for the browser and node.js

1 vote
1 answer
107 views

I have created Axios wrapper following SOLID principles. Is there any feedback on improving it's structure in a more cleaner and better way? axiosconfig.ts ...
C Sharp Guy's user avatar
3 votes
1 answer
66 views

I had to implement the below as a coding challenge. There are two http endpoints. The first http endpoints returns a list of postcodes. The second http endpoint takes a postcode as a parameter and ...
hulike2286's user avatar
0 votes
1 answer
691 views

I trying to upload multiple images about (5000 of size upto 50mb) and trying to figure out what would be the best way to do it. right now i have this code: ...
code0x00's user avatar
  • 101
0 votes
1 answer
194 views

I am currently migrating some code from class-based components to function components using hooks in React. Where I have come across a piece of code that works as expected but there are 3 Axios calls ...
anup's user avatar
  • 139
4 votes
1 answer
964 views

I'm building a full stack exercise app and some of my objects include routines, exercises, exercise sets etc. Instead of writing out specific get, post, put and delete requests for each resource, I ...
gCoder's user avatar
  • 43
7 votes
2 answers
1k views

I had an interview task which was the final stage, however, the feedback I got back for my solution was that it lacked effort and structure. I would be grateful to ...
user6248190's user avatar
3 votes
0 answers
88 views

I made a helper function for drawing the map(OpenLayers). Then I made another helper function for fetch(axios.get) the map URL. ...
Ye Cai's user avatar
  • 31
7 votes
1 answer
400 views

I have this code that fetches data from a 3rd party api and sends it to my backend to be processed. The 3rd party api needs to target the user's localhost address so it has to come from the front end. ...
Adrian Sultu's user avatar
4 votes
1 answer
765 views

Description I've developed an application which use axios to communicate with the PayPal API. PayPal has a NodeJS SDK, but unfortunately this doesn't support the ...
sfarzoso's user avatar
  • 117
0 votes
1 answer
405 views

I'm currently getting data from an API every 15 seconds. This data contains a json with 100-2000 new items every time. Now i don't need all the items that are in there but still quite some of them and ...
Awesom-o's user avatar
  • 107
4 votes
1 answer
6k views

I have a form built with react, formik and yup, and this form has some async validations. Apparently, some users were able to bypass these validations, and to prevent some errors, I wanted to disable ...
sergioviniciuss's user avatar
2 votes
0 answers
81 views

My React application manages some entities. I'm using Redux (with redux-thunk) to manage the application state. I've created a RESTClient based on Axios: ...
Robin's user avatar
  • 137
-1 votes
1 answer
1k views

Using visual studio I created a snippet which helps me surround my already written or new code into a try-catch-finally block. I use axios for REST so there had to be separate error handling method so ...
Suleman's user avatar
  • 169
3 votes
1 answer
275 views

update1: - I need to make two different api calls. - from the result of first api call I am getting id in the variable firstAPIid, https://reqres.in/api/users?page=2 - I need to pass this id ...
zi zi's user avatar
  • 49
5 votes
3 answers
937 views

In React, it is quite common for me to have something similar to the following. ...
Marcel's user avatar
  • 137

15 30 50 per page