Skip to content

Commit 26b8d96

Browse files
committed
Fixed comments
1 parent 4f0a996 commit 26b8d96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/Public/Utils/Invoke-FabricAPIRequest_duplicate.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Invoke-FabricAPIRequest_duplicate {
66
Takes care of: authentication, 429 throttling, Long-Running-Operation (LRO) response
77
88
.DESCRIPTION
9-
The Invoke-FabricRestMethod function is used to send an HTTP request to a Fabric API endpoint and retrieve the response. It handles various aspects such as authentication, 429 throttling, and Long-Running-Operation (LRO) response.
9+
The Invoke-RestMethod function is used to send an HTTP request to a Fabric API endpoint and retrieve the response. It handles various aspects such as authentication, 429 throttling, and Long-Running-Operation (LRO) response.
1010
1111
.PARAMETER authToken
1212
The authentication token to be used for the request. If not provided, it will be obtained using the Get-FabricAuthToken function.
@@ -33,12 +33,12 @@ function Invoke-FabricAPIRequest_duplicate {
3333
The number of times to retry the request in case of a 429 (Too Many Requests) error. The default value is 0.
3434
3535
.EXAMPLE
36-
Invoke-FabricRestMethod -uri "/api/resource" -method "Get"
36+
Invoke-FabricAPIRequest_duplicate -uri "/api/resource" -method "Get"
3737
3838
This example sends a GET request to the "/api/resource" endpoint of the Fabric API.
3939
4040
.EXAMPLE
41-
Invoke-FabricRestMethod -authToken "abc123" -uri "/api/resource" -method "Post" -body $requestBody
41+
Invoke-FabricAPIRequest_duplicate -authToken "abc123" -uri "/api/resource" -method "Post" -body $requestBody
4242
4343
This example sends a POST request to the "/api/resource" endpoint of the Fabric API with a request body.
4444

0 commit comments

Comments
 (0)