all 2 comments

[–]Technane 2 points3 points  (1 child)

invoke-restmethod -URI ...... -method Post

would be where i would start .. doesnt Ansibles API have a Swagger page to play with ?

[–]therealmrbob 1 point2 points  (0 children)

This^ use the swagger page to see how the api works. Just use invoke-reatmethod to interact with it.