This is an old revision of the document!


Create form parameter list

Synopsis

  params [--name <name>] [--delete]

Examples

Create an unnamed form parameter list

  params

Issue an HTTP POST request using a form parameter list

  params
  param mac ${net0/mac}
  param uuid ${uuid}
  param asset ${asset}
  chain http://boot.ipxe.org/demo/boot.php##params

Create and use a named form parameter list

  params --name mydata
  param --params mydata username ${username}
  param --params mydata password ${password}
  imgfetch http://192.168.0.1/auth.cgi##params=mydata

Delete a named form parameter list

  params --name mydate --delete

Description

Create a form parameter list with the specified name. If no name is specified, the default (unnamed) form parameter list will be created.

If the --delete option is specified, the form parameter list will be deleted.

Command status

Success The form parameter list was successfully created
Failure The form parameter list was not successfully created

See also

Build options

This command is available only when the build option PARAM_CMD is enabled.

Notes

Form parameter lists are automatically deleted when referenced as part of a URI (e.g. http://192.168.0.1/boot.cgi##params). You do not generally need to explicitly delete a form parameter list.

cmd/params.1376950198.txt.gz ยท Last modified: 2013/08/19 22:09 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.