> For the complete documentation index, see [llms.txt](https://docs.stoobly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoobly.com/guides/how-to-update-requests/updating-with-replay/replaying-from-the-ui.md).

# Replaying from the UI

## Updating a Request by Replaying

1. Navigate to the requests list page at [http://localhost:4200/agent/requests](http://localhost:4201/agent/requests)
2. Click on the request that we want to update. In the screenshot, we see a request that returned a 200 status code and a healthy json body in the response. For our example, this is a HTTP request to an application running on `localhost` that then calls the Spotify's API to return details about a song.

<figure><img src="/files/BMWNQnAFlUKOX4Fg1uCX" alt=""><figcaption><p>Request details</p></figcaption></figure>

3. Now go to the Replay History by clicking on the following tab

<figure><img src="/files/7qcNQ9iddXIGm5R7Mljx" alt=""><figcaption><p>Replay History tab</p></figcaption></figure>

4. Pick one of the requests to overwrite the current HTTP response with and click on "Activate"

<figure><img src="/files/2g8i9uMpBKTf6BUbCflY" alt=""><figcaption><p>Activate button</p></figcaption></figure>

5. A prompt should pop up asking you to confirm. Click on "CONFIRM"

<figure><img src="/files/SXbt1t72FqGzufIcoDdw" alt=""><figcaption><p>Confirm</p></figcaption></figure>

6. The response for the request has now been updated successfully!

<figure><img src="/files/s9sR0IBP8sIRYTRXC886" alt=""><figcaption><p>Success!</p></figcaption></figure>

7. Finally, run the Agent in Mock mode and send a HTTP request to that endpoint. After sending a request, Stoobly will return the new response instead of the old one. Please note that you can change the response back to its original one or any of the re-recordings by using the [Replay History](/core-concepts/mock-api/requests/replay-history.md).
