I'm new to API Requests in general.
I'm I have an admin API Token that should be able to do "all the things".
I'm using Postman and I'm trying to send queries to Chef Automate.
I'm following along with the Chef Automate API documentation:
https://docs.chef.io/automate/api/
I have downloaded their JSON Schema definitions, and imported that into
Postman, so I have examples of all the API they have ....
I mean, I'm the definition of "being hand held", LOL ... but things just
aren't working.
Like I try to hit "/api/v0/compliance/nodes/search" to get a list of all my
nodes ... as they suggest in the example, i apply a filter of "environment:
prod" ... but it returns "Method Not Allowed", and i don't know what that
means ... and the documentation doesn't mention that.
Specifically, I'm reading this: "
https://docs.chef.io/automate/api/#tag/ReportingService/operation/ReportingService_ListNodes
"
Even if you're not familiar with Chef, or Automate ... I think I need help
with API.
Thanks,
Alexander
Sent from my Samsung Galaxy S22+
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss