Hello community.
When I create or delete something on my Jamf site through api call (for example, creating a new policy with POST on "/JSSResource/policies/id/-1"), I am getting a successful response with code 200 and the newly created policy's id.
Then, I am trying to fetch all policies from my Jamf site (GET on "/JSSResource/policies"), but the response does not contain the newly created policy.
Should I wait for few seconds before I fetch my policies and check if the creation succeeded? (Since I am running a code that does it I need to know how much sleep time I should add). Are there a different solution than doing busy waiting?
All I wrote I experience for DELETE requests as well.
Thanks in advance
Question
Delay time after POST or DELETE api calls
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
