Skip to content

Commit

Permalink
changes from link blitz
Browse files Browse the repository at this point in the history
changes:
Service wix-fetch has changed description
Service wix-fetch operation getJSON has changed description

Co-authored-by: Adam Friedmann <[email protected]>
  • Loading branch information
wix-docs-feds and adamfri authored Jun 4, 2024
1 parent c573e3e commit 752635a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions wix-fetch/wix-fetch.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"description":
[ "The Fetch API enables you to send an HTTPS request to a server from your frontend or backend code.",
" You can use the Fetch API to communicate with an external API to access or manage data.",
"",
" ",
" With the Fetch API, you can:",
" + Integrate additional functionality using a 3rd-party API.",
" + Retrieve data from an external service.",
" + Submit data to an external database.",
"",
" The amazing Fetch API is a Velo implementation of the standard [JavaScript Fetch API](https://developer.mozilla.org/en/docs/Web/API/Fetch_API)",
" The Fetch API is a Velo implementation of the standard [JavaScript Fetch API](https://developer.mozilla.org/en/docs/Web/API/Fetch_API)",
" and works in a similar fashion.",
"",
" For examples of how to use the Fetch API, see [Getting Started](/getting-started/integration-with-third-party-services)",
Expand Down Expand Up @@ -216,7 +216,8 @@
"extra":
{ } },
{ "name": "getJSON",
"labels": [],
"labels":
[ "changed" ],
"nameParams": [],
"params":
[ { "name": "url",
Expand Down Expand Up @@ -261,7 +262,7 @@
" >",
" > - You can usually tell if you are experiencing these issues by checking your browser's console using the [browser's developer tools](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools).",
" > - Certain [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) (Cross-Origin Resource Sharing) requests are restricted when originating from a browser. Usually, GET requests and certain POST requests can be made from your site's **Public**, **Page**, or **Site** code. All other requests need to be made from your site's **Backend** code. If you are experiencing an issue with a `getJSON()` call due to a CORS restriction, move the `getJSON()` call to the backend as described in [Accessing 3rd-Party Services](https://support.wix.com/en/article/accessing-3rd-party-services#backend-service-call).",
" > - You cannot request HTTP content if your site is an HTTPS site. To fix this issue you can either use the HTTPS protocol to fetch the requested resources or you can [turn off SSL on your site](https://support.wix.com/en/article/turning-ssl-on-or-off-for-your-site)." ],
" > - You cannot request HTTP content, only HTTPS." ],
"links": [],
"examples":
[ { "title": "Get a JSON resource",
Expand Down Expand Up @@ -361,4 +362,4 @@
"url": "https://support.wix.com/en/article/velo-javascript-support" },
{ "icon": "example",
"text": "Secrets Manager",
"url": "https://www.wix.com/velo/example/secrets-manager" } ] }
"url": "https://www.wix.com/velo/example/secrets-manager" } ] }

0 comments on commit 752635a

Please sign in to comment.