Store response in KV (workers)

My response is less then the limit of the KV value store,

How can I store response and read response from KV sore ?

Is there any way to translate response into text and recreate the response from the text ?

You could probably use Response.text() to fetch the body into a string and then store that. You should probably do the same with the HTTP headers.

For details I’d recommend to check out