Skip to content
Snippets Groups Projects
Commit ae2772d6 authored by Dejan Golubovic's avatar Dejan Golubovic
Browse files

Read cookie from a file

parent 4669b3d3
No related branches found
No related tags found
No related merge requests found
...@@ -16,5 +16,5 @@ ...@@ -16,5 +16,5 @@
- AUTH_SESSION is the authentication session cookie obtained in the previous step - AUTH_SESSION is the authentication session cookie obtained in the previous step
- NAMESPACE is a personal Kubeflow namespace, which can be seen in the top left corner of the UI - NAMESPACE is a personal Kubeflow namespace, which can be seen in the top left corner of the UI
```curl -H 'Cookie: authservice_session=AUTH_SESSION' -H 'Host: flowers-sample-predictor-default.NAMESPACE.example.com' http://ml.cern.ch/v1/models/flowers-sample:predict -d @./input.json``` ```curl -H @cookie -H 'Host: flowers-sample-predictor-default.NAMESPACE.example.com' http://ml.cern.ch/v1/models/flowers-sample:predict -d @./input.json```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment