1, Code: const express = require ( express ); const superagent = require ( superagent ); const cheerio = require ( cheerio ); const app = express (); const test = express (); app.get ( , (req, res,next) = > { superagent.get( https: w...
want to cross-domain request third-party API, front end uses ajax request, backend uses superAgent as relay, but ajax can not get a response, try to output response.status=0, but is response.readyStatus=4, because the back-end response is not written cor...
how should I write such a question? use the node package superagent, to save the picture to the local disk. Then return the address to the front end. ...
newcomers ask for help. Now you use superagent on node to send a request to access several ports. You need to save the cookie obtained by the first request and let the later request continue to use. It just happens that there is a special agent () metho...
ask for help, boss! Superagent post submits the form data to the database with garbled code as follows: ...
I want to use superagent to send requests to access multiple interfaces. If I get the token, from the first interface, but there are several other requests that need to use the token, I should store the token in a single variable. Would you like to ask ...
how does superagent get url after redirection my previous idea was to set .redirects (0) , and then get the redirected url, by Location in the response header, but this failed ask the great god what I should do ...