[ipxe-devel] Possible to print content/result got by http?

Oliver Rath rath at mglug.de
Wed Aug 26 13:17:10 UTC 2015


Hi list,

is it possible to print some content requestet by i.e. http?

I.e. something like this:

#!ipxe
echo "starting process ..."
set result ${http://myip/getprocessresult.php?action=5}
echo result
# result can be "success!" or "failed!"
prompt

or (suboptimal, but ok)
#!ipxe
echo "starting process ..."
imgfetch http://myip/getprocessresult.php?action=5 result| goto failed
echo "success!"
goto end
failed:
echo "failed!"
:end
imgfree result
prompt
# result can be "success!" or "failed!"


Tfh!
Oliver



More information about the ipxe-devel mailing list