POST and PUT Input
POST and PUT requests require a body in their HTTP Requests. You can specify the body either as an input file on the command line, such as:
iem POST inputfile.xml operator/bigfix
By running this command you post the file inputfile.xml
to
the location operator/bigfix
and update the operator bigfix
with
the information provided in the inputfile.xml
file
or, you can enter it manually when prompted (if no input file is specified
on the command line, the utility prompts for input:
iem POST query
Input: relevance=now
The input must be of the format expected by the specified RESTAPI resource, the CLI does not do any pre-parsing or sanity checking.