The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Method get/post?
2018-01-08, 19:07
Post: #1
Request Method get/post?
Hello everyone. I'm converting my environment to use the params command rather than build my own url. I'm finding that the request to the webserver (launching the boot.php) is not receiving the post when I start the build of my server.

I dumped all the php variables and I'm finding the request being received by my webserver is a "get" and not a "post". In turn is not getting any of the variables I'm defining to be passed to the linux server build.

What dictates from the ipxe side the get/post function?

I basically do...

params --name test
param --params test ip ${ip}
param --params test hostname ${hostname}

and so on. On the server itself being created I dumped when is being seen by the webserver and these are not appearing. Maybe I'm not understanding how to decode this on the server side. I do see the boot.php script but it looks to me like an encoded number.

/ks/html/boot.php?=PHPE98744F37-D428-11D2-A769

Any ideas?

Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Request Method get/post? - glenc2004 - 2018-01-08 19:07
RE: Request Method get/post? - NiKiZe - 2018-01-08, 20:15
RE: Request Method get/post? - NiKiZe - 2018-01-09, 06:49



User(s) browsing this thread: 1 Guest(s)