Why say Time to intercept?
This good time to let MR.HTTP
to be intercepted. But why and how, with what?
Let's break this down like a plan to rob a bank rather borrow the bank, we'll return the 💰 once we are pleased 🤣.
The Why
:
An intercept is required or necessary to get us our money, but the only way to do so requires someone from the team to make our key victim to be intercepted. The victim being the bank manager (API endpoint). The receiver of all the good things.
The How
:
We can buy our bank manager (API endpoint) with a delay 🎂. The cake is the interceptor, we magically add some sleep to it then the rest is a dream. What all this mean is our package called em-interceptor.
The What
:
Once we have our master sleep, the rest is to let DR.🎂 to work the best out to get us codes, do some appends and return the potion for master sleep to wake up. That is it. We just got helped by the bank manager to borrow 💰. Once we outside, we'll send a good call.
The With
:
Check out the newest but always used transaction. HTTP Interceptor em-interceptor, well this one uses
axios
. By default, it was supposed to hack any http client to intercept and add bearer token on the header. Not a good way to approach but then sawaxios
is used on most basis and why not just add some recipe.
Break a leg not the bones. Keep breathing but suffocating.
Don't forget to do the basics.
🎈 again next time.
Top comments (0)