Created
December 7, 2017 17:07
-
-
Save galderz/21997d4b673908943a11a38c51d4cc9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/1/k/oc-config ❯❯❯ echo "Hello" | curl -v -u developer:developer -X PUT -d @- --header "Content-Type: text/plain" http://infinispan-http-myproject.127.0.0.1.nip.io/rest/default/a | |
* Trying 127.0.0.1... | |
* TCP_NODELAY set | |
* Connected to infinispan-http-myproject.127.0.0.1.nip.io (127.0.0.1) port 80 (#0) | |
* Server auth using Basic with user 'developer' | |
> PUT /rest/default/a HTTP/1.1 | |
> Host: infinispan-http-myproject.127.0.0.1.nip.io | |
> Authorization: Basic ZGV2ZWxvcGVyOmRldmVsb3Blcg== | |
> User-Agent: curl/7.54.0 | |
> Accept: */* | |
> Content-Type: text/plain | |
> Content-Length: 5 | |
> | |
* upload completely sent off: 5 out of 5 bytes | |
< HTTP/1.1 200 OK | |
< etag: text/plain1549087215 | |
< content-type: text/plain | |
< content-length: 0 | |
< Set-Cookie: 489628bede6b6256735637f909324a8b=f2c66065e4dfb2971a5e294eba82117b; path=/; HttpOnly | |
< Cache-control: private | |
< | |
* Connection #0 to host infinispan-http-myproject.127.0.0.1.nip.io left intact | |
~/1/k/oc-config ❯❯❯ curl -u developer:developer -o - http://infinispan-http-myproject.127.0.0.1.nip.io/rest/default/a master ✖ ✱ ◼ | |
Data format not supported% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment