Skip to content

Commit 20aece5

Browse files
Merge pull request #236688 from dem108/patch-23
Update how-to-deploy-online-endpoints.md
2 parents f7335c4 + 1ec3851 commit 20aece5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/machine-learning/how-to-deploy-online-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ ml_client.online_endpoints.invoke(
691691
If you want to use a REST client (like curl), you must have the scoring URI. To get the scoring URI, run the following code. In the returned data, find the `scoring_uri` attribute. Sample curl based commands are available later in this doc.
692692

693693
```python
694-
endpoint = ml_client.online_endpoints.get(endpoint_name)
694+
endpoint = ml_client.online_endpoints.get(endpoint_name, local=True)
695695
scoring_uri = endpoint.scoring_uri
696696
```
697697

0 commit comments

Comments
 (0)