From 59342314ff285cee7c975ee86710887971f35afb Mon Sep 17 00:00:00 2001 From: Luiza Vargas do Santos Date: Mon, 26 May 2025 16:08:58 -0300 Subject: [PATCH 1/2] fix: replaced api v3 in devtools --- .../javascript-examples/rest-apis/rest-apis.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/en/pages/devtools/azion-edge-runtime/javascript-examples/rest-apis/rest-apis.mdx b/src/content/docs/en/pages/devtools/azion-edge-runtime/javascript-examples/rest-apis/rest-apis.mdx index cfbbe7457a..94a9bc3bf0 100644 --- a/src/content/docs/en/pages/devtools/azion-edge-runtime/javascript-examples/rest-apis/rest-apis.mdx +++ b/src/content/docs/en/pages/devtools/azion-edge-runtime/javascript-examples/rest-apis/rest-apis.mdx @@ -31,7 +31,7 @@ Build a GET, DELETE, POST, PUT, or PATCH request with JSON data. redirect: 'follow' }; - fetch("https://api.azionapi.net/digital_certificates/", requestOptions) + fetch("https://api.azion.com/v4/digital_certificates/certificates", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); From f92bc4e37daa2aa5bcc3c48b521759c0df00fed9 Mon Sep 17 00:00:00 2001 From: Luiza Vargas do Santos Date: Mon, 26 May 2025 16:10:07 -0300 Subject: [PATCH 2/2] fix: replaced api v3 in devtools --- .../azion-edge-runtime/javascript-examples/rest-apis/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/pt-br/pages/devtools/azion-edge-runtime/javascript-examples/rest-apis/index.mdx b/src/content/docs/pt-br/pages/devtools/azion-edge-runtime/javascript-examples/rest-apis/index.mdx index 8bb2b35bf1..ca053cadd5 100644 --- a/src/content/docs/pt-br/pages/devtools/azion-edge-runtime/javascript-examples/rest-apis/index.mdx +++ b/src/content/docs/pt-br/pages/devtools/azion-edge-runtime/javascript-examples/rest-apis/index.mdx @@ -23,7 +23,7 @@ var requestOptions = { redirect: 'follow' }; -fetch("https://api.azionapi.net/digital_certificates/", requestOptions) +fetch("https://api.azion.com/v4/digital_certificates/certificates/, requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error));