I am having sprin boot application as my back end and vue js in the front end Both are running in my localhost but with different ports I am using axios to make
// how can I use the promise of toastify like I want to show spinner while fetching data then message success or failed // but I am getting error in bellow code
I need to chain a few API requests from the Google Maps API, and I'm trying to do it with Axios. Here is the first request, which is in componentWillMount() a
In my react app i am using axios to perform the REST api requests. But it's unable to send the Authorization header with the request. Here is my code: tokenP
I need help with how to fetch 5 random pokemon at a time instead of rendering all pokemon on the screen using react? // destructuring const [items, setItems] =
I have a Custom Hook similarly with the below: import { useEffect, useState } from 'react'; import axios from 'axios'; const myCustomHook = () => { cons
I have an action making a POST request to the server in order to update a user's password, but I'm unable to handle the error in the chained catch block. retur
In the main.js of my Vue based SPA, I have the following snippet: let token = localStorage.getItem('token'); if (token) { Vue.prototype.$http.defaults.headers
I have implemented a backend where administrators can create backups. These backups are collected in zip files and are stored in a non-public folder on the serv
I am trying to upload a video to Tiktok using this endpoint: https://open-api.tiktok.com/share/video/upload/ Following the official docs: https://developers.tik