I was trying to list all the puppet classes in my server and when running:
curl -s -H "Accept:application/json" -k -u $USER:$PASS --get
https://$HOST/puppetclasses <https://%24host/puppetclasses>
I got one set of results.
and when running:
curl -s -H "Accept:application/json" -k -u $USER:$PASS --get
https://$HOST/api/puppetclasses <https://%24host/api/puppetclasses>
I got a different set of results.
Can someone please verify this.
Thanks,
Tal