[GitHub] mesos issue #255: Add curl examples to operator-http-api

2018-01-18 Thread vinodkone
Github user vinodkone commented on the issue:

https://github.com/apache/mesos/pull/255
  
@nhandler If you can update the PR, I'll commit it ASAP.


---


[GitHub] mesos issue #255: Add curl examples to operator-http-api

2018-01-16 Thread greggomann
Github user greggomann commented on the issue:

https://github.com/apache/mesos/pull/255
  
@nhandler similar to Vinod's comment: I think we could probably get away 
without the heredoc notation, to get rid of the EOFs?

i.e.:
```
curl -i \
  -X POST http://:5050/api/v1 \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '
{
  "type": "GET_HEALTH"
}'
```
This works when I test it in bash anyway :)


---


[GitHub] mesos issue #255: Add curl examples to operator-http-api

2018-01-12 Thread vinodkone
Github user vinodkone commented on the issue:

https://github.com/apache/mesos/pull/255
  
@nhandler  Thanks for doing this! Awesome. Do I take it that you tested all 
these commands? Also, is the EOF required in all the curl commands?


---