diff --git a/files/en-us/web/api/response/url/index.md b/files/en-us/web/api/response/url/index.md index 7f5bcf80fd35ba4..8201a57036c4d6b 100644 --- a/files/en-us/web/api/response/url/index.md +++ b/files/en-us/web/api/response/url/index.md @@ -22,7 +22,7 @@ A string. ## Examples -In our [Fetch Response example](https://github.com/mdn/fetch-examples/tree/gh-pages/fetch-response) (see [Fetch Response live](https://mdn.github.io/fetch-examples/fetch-response/))we create a new {{domxref("Request")}} object using the {{domxref("Request.Request","Request()")}} constructor, passing it a JPG path. +In our [Fetch Response example](https://github.com/mdn/fetch-examples/tree/master/fetch-response) (see [Fetch Response live](https://mdn.github.io/fetch-examples/fetch-response/))we create a new {{domxref("Request")}} object using the {{domxref("Request.Request","Request()")}} constructor, passing it a JPG path. We then fetch this request using {{domxref("fetch()")}}, extract a blob from the response using {{domxref("Response.blob")}}, create an object URL out of it using {{domxref("URL.createObjectURL")}}, and display this in an {{htmlelement("img")}}. Note that at the top of the `fetch()` block we log the response `URL` to the console.