Skip to content

Commit 656054a

Browse files
authored
Update 16/umbraco-cms/customizing/foundation/fetching-data/try-execute.md
1 parent 8e7b26a commit 656054a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

16/umbraco-cms/customizing/foundation/fetching-data/try-execute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description:: Learn how to execute requests in the Backoffice.
44

55
# Executing Requests
66

7-
When you make a request to the server, you need to execute it. This can be done using the Fetch API or the Umbraco HTTP client. The Backoffice also provides a `tryExecute` function that you can use to execute requests. This function will handle any errors that occur during the request and will automatically refresh the token if it is expired. If the session is expired, the function will also make sure the user logs in again.
7+
Requests can be made using the Fetch API or the Umbraco HTTP client. The Backoffice also provides a `tryExecute` function that you can use to execute requests. This function handles any errors that occur during the request and automatically refreshes the token if it has expired. If the session has expired, it prompts the user to log in again.
88

99
{% hint style="info" %}
1010
You can read the technical documentation for the `tryExecute` function in the [UI API Documentation](https://apidocs.umbraco.com/v16/ui-api/functions/packages_core_resources.tryExecute.html) class.

0 commit comments

Comments
 (0)