Differences

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

Link to this comparison view

Both sides previous revision Previous revision
cmd:params [2023/03/01 12:32]
mcb30
cmd:params [2026/07/13 15:50] (current)
mcb30
Line 3: Line 3:
 ===== Synopsis ===== ===== Synopsis =====
  
-    params [--name <​name>​] [--delete]+    params [--name <name>] [--method <method>] [--delete]
  
 ===== Examples ===== ===== Examples =====
Line 18: Line 18:
     param asset ${asset}     param asset ${asset}
     chain http://​boot.ipxe.org/​demo/​boot.php##​params     chain http://​boot.ipxe.org/​demo/​boot.php##​params
 +
 +=== Issue an HTTP POST with an empty parameter list ===
 +
 +    params --method POST
 +    imgfetch http://​192.168.0.1/​testpost##​params
 +
 +=== Issue an HTTP PUT with a custom header ===
 +
 +    params --method PUT
 +    param --header X-aws-ec2-metadata-token-ttl-seconds 600
 +    imgfetch http://​169.254.169.254/​latest/​api/​token##​params
  
 === Create and use a named request parameter list === === Create and use a named request parameter list ===
Line 33: Line 44:
  
 Create a request parameter list with the specified name.  If no name is specified, the default (unnamed) request parameter list will be created. Create a request parameter list with the specified name.  If no name is specified, the default (unnamed) request parameter list will be created.
 +
 +If the ''​%%--method%%''​ option is specified, the method name will be used for requests using this parameter list.
  
 If the ''​%%--delete%%''​ option is specified, the request parameter list will be deleted. If the ''​%%--delete%%''​ option is specified, the request parameter list will be deleted.
cmd/params.txt ยท Last modified: 2026/07/13 15:50 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.