I am new to PHP. I have a stupid question and need your explanation.
When I make a POST request with the cURL command-line:
curl -d "username=admin&password=admin&submit=Login" --dump-header headers http://localhost/Login
Please kindly let me know what is the purpose of this command-line. I just wonder whether data "username=admin&password=admin&submit=Login"
will be attached to url http://localhost/Login
. Then, we have:
http://localhost/Login/username=admin&password=admin&submit=Login
Is it correct?