We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i have a pdf file url. i need to send it with superagent with fileName param. is there example of this? this is not working
const urlf = 'http://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf'; const s = await http.get(urlf, (stream) => { return stream; }); let req = superagent .put(`${url}/attachFile`) .auth(apiUserName, password) req.attach('fileName', "dummy.pdf"); req.pipe(s) .end(() => { console.log("attachement upload") })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i have a pdf file url. i need to send it with superagent with fileName param. is there example of this?
this is not working
The text was updated successfully, but these errors were encountered: