I’ve added a rewriteRequest option to the request function, which allows users to modify the URL and request options dynamically before making the request. This could be useful in cases where the request needs to be adjusted on the fly, such as adding custom query parameters or modifying headers.
Here’s a summary of what I’ve changed:
Added a rewriteRequest function that, if provided, allows for the alteration of the request options and URL before the request is made.
I’ve added a
rewriteRequest
option to therequest
function, which allows users to modify the URL and request options dynamically before making the request. This could be useful in cases where the request needs to be adjusted on the fly, such as adding custom query parameters or modifying headers.Here’s a summary of what I’ve changed:
rewriteRequest
function that, if provided, allows for the alteration of the request options and URL before the request is made.