ladjs / superagent

Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
https://ladjs.github.io/superagent/
MIT License
16.56k stars 1.33k forks source link

how to make super agent always send options and then get request #1736

Closed not-varram closed 6 months ago

not-varram commented 1 year ago

I need super agent to always send the options request first and then the get request (how do I do that):

here is what happens when the get request is made first and then the options: image

and here is what happens when the options request is made first (there are no errors): image