Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cmd:params [2013/08/19 22:07]
mcb30
cmd:params [2013/08/19 22:21]
mcb30
Line 1: Line 1:
-====== Create parameter list ======+====== Create ​form parameter list ======
  
 ===== Synopsis ===== ===== Synopsis =====
Line 7: Line 7:
 ===== Examples ===== ===== Examples =====
  
-=== Create an unnamed parameter list ===+=== Create an unnamed ​form parameter list ===
  
     params     params
  
-=== Issue an HTTP POST request using a parameter list ===+=== Issue an HTTP POST request using a form parameter list ===
  
     params     params
Line 19: Line 19:
     chain http://​boot.ipxe.org/​demo/​boot.php##​params     chain http://​boot.ipxe.org/​demo/​boot.php##​params
  
-=== Create and use a named parameter list ===+=== Create and use a named form parameter list ===
  
     params --name mydata     params --name mydata
Line 26: Line 26:
     imgfetch http://​192.168.0.1/​auth.cgi##​params=mydata     imgfetch http://​192.168.0.1/​auth.cgi##​params=mydata
  
-=== Delete a named parameter list ===+=== Delete a named form parameter list ===
  
     params --name mydate --delete     params --name mydate --delete
Line 32: Line 32:
 ===== Description ===== ===== Description =====
  
-Create a parameter list with the specified name.  If no name is specified, the default (unnamed) parameter list will be created.+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 parameter list will be deleted.+If the ''​%%--delete%%''​ option is specified, the form parameter list will be deleted.
  
 ===== Command status ===== ===== Command status =====
  
-^ Success ​  | The parameter list was successfully created ​         | +^ Success ​  | The form parameter list was successfully created ​         | 
-^ Failure ​  | The parameter list was not successfully created ​     |+^ Failure ​  | The form parameter list was not successfully created ​     |
  
 ===== See also ===== ===== See also =====
Line 53: Line 53:
 ===== Notes ===== ===== Notes =====
  
-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 parameter list.+Unnamed form parameter ​lists can be referenced as part of a URI by appending ​''​##​params''​ to the URI specified in an iPXE command. ​ For example: 
 + 
 +    kernel ​http://​192.168.0.1/​boot.cgi##​params 
 + 
 +Named form parameter lists can be referenced as part of a URI by appending ​''​##​params=<​name>''​ to the URI specified in an iPXE command line.  For example: 
 + 
 +    imgfetch http://​my.web.server/​boot/​test.php##​params=mydata 
 + 
 +Form parameter lists are automatically deleted when referenced as part of a URI.  You do not generally need to explicitly delete a form parameter list.
  
cmd/params.txt · Last modified: 2023/03/01 12:32 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.