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
Last revision Both sides next revision
cmd:param [2013/08/19 22:11]
mcb30
cmd:param [2013/08/19 22:17]
mcb30
Line 36: Line 36:
 ===== Notes ===== ===== Notes =====
  
-You must create the form parameter list using the ''​[[:​cmd:​params]]''​ command before attempting to create a form parameter.+The most common use for form parameter lists is to generate HTTP POST requests. ​ You can generate a POST request by appending ''##​params''​ to the HTTP URI.  For example, to send a complete PCI device listing: 
 + 
 +    #!ipxe 
 +     
 +    params 
 +    :pciscan pciscan addr || goto pciscan_done 
 +      param pcidev ${pci/​${addr}.0.2}:​${pci/​${addr}.2.2} 
 +      goto pciscan 
 +    :​pciscan_done 
 +    chain http://​192.168.0.1/​boot/​pcilist.php##​params 
 + 
 +You must create the form parameter list using the ''​[[:​cmd:​params]]''​ command before attempting to create a form parameter ​using the ''​param''​ command.
  
-The most common use for form parameter lists is to generate HTTP POST requests. 
cmd/param.txt · Last modified: 2023/03/01 12:30 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.