I am facing an issue where Im trying to post data to my mongoDB from the frontend using React Hooks on React Native. The problem is that Im struggling to get th
I'm a newbie building an App that utilizes React Router to switch between 3 different components that each utilize Axios to fetch data from an API. I am trying
I want to make an ajax request using axios package on the parent component and pass the returned array to a child component so that it can iterate the array an
I have a Nuxt middleware file that fetches the session from an external api. This session is used to set things such as locale, so it's important that it is fet
I got a problem with my react native app. while accessing API, I get a response Skipped and status code 0. it's shown by using reactotron to log the api respons
I am trying to upload an image with react native front end and axios to my back end. This is how pic the image const pickImage = async () => { let result
I tried many solution from this task. I want testing axios instance api call without any libralies (jest-axios-mock, moaxios, msw, etc). I hope it's possible, b
What I want is, when I click SUBMIT button, it should post some data using axios.post const sb = async () => { axios.post('/tagSearch',{ qual: qual
I have a module that goes like this: import { Module } from '@nestjs/common' import { OtpService } from '@modules/auth/otp/otp.service' import { OtpResolver } f
I am trying to post two inputs with axios and I want to base64 encode them before I send them.
I have this working: export default axios.create({ baseURL: 'sample', headers: { 'Content-Type': 'application/json', }, transformRequest: [ (dat
I am using VueJS and Axios to send a request like this: axiosAPI.get('/login/flows', {params: {id: 'string'}}) .then(res => { co
I'm using axios to upload an audio file to AWS s3 bucket. The workflow is: React => AWS API Gateway => Lambda. Here is the backend Lambda code where gener
const Authorization = `Basic ${Buffer.from(`${config.CUSTOMERID}:${config.CUSTOMER_SECRET}`).toString("base64")}`; const acquire = await axios.post(`https://api
I'm trying to send a POST request locally with a username and password in the body through Axios. I'm deploying a Flask app on http://127.0.0.1:5000/login, wh
i am trying to get file from server that has size of(15mb) through Axios Request. showing status "200", but not sending file previewData(base64) and showing thi
I want to cancel the request if there's no token so I do like this: instance.interceptors.request.use(config => { if (!getToken()) { console.log("inte
newbie here. I was on web scraping project. And I wanted some guide on web scraping pagination technique. I'm scraping this site https://www.imoney.my/unit-trus
I want to upload photos with React Native. My API attempt from Postman resulted in a positive. But React Native didn't make it. React Native function upload
I want to upload photos with React Native. My API attempt from Postman resulted in a positive. But React Native didn't make it. React Native function upload