This shows you the differences between two versions of the page.
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. |