51 - return axios.get<Ping>(endpointAuth, this.config(token)) 49 + ping = async (token: string) => { 50 + const response = await fetchWithRetry<Ping>(endpointAuth, { 51 + method: 'GET', 52 + ...this.config(
Therefore, I consider a well-maintained package like node-fetch, got or axios to be a better choice. 👍1 17 remaining items Load more spyder007 commented on Dec 1, 2022 spyder007 on Dec 1, 2022 If you remove node-fetch from your external libraries (or convert to the ES module), ...
HTTP将通过HTTP Service客户端发送的 请求替换为对HTTP 库(例如node-fetch )的调用或axios。 node-fetch npm i node-fetch@^2 重要 Atlas App Services 不支持 v3 的node-fetch。 请改用 v2。 之前 exports=asyncfunction() { consthttp = context.services.get("myHttp"); ...
How to send urlencoded data using Axios Oct 4, 2019 How to get last element of an array in JavaScript? Sep 26, 2019 How to check if a JavaScript value is an array? Sep 25, 2019 How to join two arrays in JavaScript Sep 23, 2019 How to join two strings in JavaScript Sep...
How to send urlencoded data using Axios Oct 4, 2019 How to get last element of an array in JavaScript? Sep 26, 2019 How to check if a JavaScript value is an array? Sep 25, 2019 How to join two arrays in JavaScript Sep 23, 2019 How to join two strings in JavaScript Sep...
24 24 "@types/node-fetch": "^2.6.12", 25 + "ai": "^4.1.21", 25 26 "axios": "^1.7.9", 26 27 "cors": "^2.8.5", 27 28 "duck-duck-scrape": "^2.2.7", 28 29 "express": "^4.21.2", 29 30 "node-fetch": "^3.3.2", 30 - "undici": "^7.3.0" 31 ...
"axios": "^1.4.0", "@halo-dev/console-shared": "^2.17.0", "@tanstack/vue-query": "^4.37.1", "@vueuse/core": "^10.11.0", "@vueuse/router": "^10.11.0", "axios": "^1.7.2", "fuse.js": "^6.6.2", "lodash.clonedeep": "^4.5.0", "vue": "^3.3.4", "vue": "^...