JSON payload for API #10138
Unanswered
Pilzington
asked this question in
Q&A
Replies: 2 comments 4 replies
-
@baude PTAL |
Beta Was this translation helpful? Give feedback.
0 replies
-
the docs state that filters are a map[string][]string. i.e. a dict with string key that points to a string list. does that help |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am currently trying out the podman API. At the moment I am trying to delete all unused images. For that I call
/libpod/images/prune
. The documentation states I need to setdangling=false
. But I can not work out how to do the correct structure which is accepted. Since it is aPOST
I am guessing I need to send a JSON payload or is it with url parameters?Here is the code I tried. How do you do this correctly?
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions