Skip to content

Commit 6037c26

Browse files
authored
Add warning to CORS section.
Documenting an important Caveat with CORS.
1 parent 5416cf9 commit 6037c26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/machine-learning/how-to-deploy-and-where.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,10 @@ def run(request):
11651165
> pip install azureml-contrib-services
11661166
> ```
11671167

1168+
> [!WARNING]
1169+
> Azure Machine Learning will only route POST and GET requests to the containers running the scoring service.
1170+
> This can cause errors due to browsers using OPTIONS requests to pre-flight CORS requests.
1171+
11681172
## Next steps
11691173

11701174
* [How to deploy a model using a custom Docker image](how-to-deploy-custom-docker-image.md)

0 commit comments

Comments
 (0)