how to access mesos http endpoints to fetch cluster information
<p>I have a local mesos setup (playa mesos) which is running in my local system. I have a requirement where i need to analyse the resource offering from different slaves and also need to get scheduling information from mesos  cluster nodes (master and slaves).</p>

<p>I am trying to using curl for hitting the HTTP endpoints as mentioned in the mesos documentation and try to get the information back. </p>

<pre><code> curl --no-buffer -X POST -H "Content-Type: application/json" --data '{"type":"SUBSCRIBE","subscribe":{"framework_info":{"user":"root","name":"democurl"}}}' http://&lt;ip address&gt;:5050/master/api/v1/scheduler
</code></pre>

<p>which is returning the offerings from different slaves.
Now there are many HTTP endpoints related to scheduling, job execution etc which are not working. When I am trying to access them with curl it's simply not working and not returning any json data back.</p>

<p>I need help to make mesos http end points woking for all available resurces. I am trying to follow mesos documentation but no luck yet.It will be great if some one can post a sample curl command working. thanks </p>