Convert axios response to Response() object to cache API requests #5857
-
Describe the issueHi there, I would like to cache API requests using the Guidance would be highly appreicated. Thanks, Example CodeNo response Expected behaviorNo response Axios VersionNo response Adapter VersionNo response BrowserNo response Browser VersionNo response Node.js VersionNo response OSNo response Additional Library VersionsNo response Additional context/ScreenshotsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I haven't gone through the codebase, but here's how we can convert an axis response into a Response object.
|
Beta Was this translation helpful? Give feedback.
-
Hi @NextThread, please apologize the very much delayed answer. Your solution worked for me, many thanks! |
Beta Was this translation helpful? Give feedback.
-
@christianholland I'm glad, it helped :) |
Beta Was this translation helpful? Give feedback.
I haven't gone through the codebase, but here's how we can convert an axis response into a Response object.