form elements like input, textarea etc. The web page consists minimally of an HTML-based web form which prompts the user for their username and password, along with a button labeled "login" or "submit". Note: This example won't work when you load it into a browser locally — browsers cannnot interpret PHP code, so when the form is submitted the browser will just offer to download the PHP file for you. The POST method is a little different. To understand the difference between those two methods, let's step back and examine how HTTP works. Once the form data has been validated on the client-side, it is okay to submit the form. This is a topic far beyond this guide, but there are a few rules to keep in mind. If the method is GET, all form element names and their values will appear in the query string of the next URL the user sees. Note: We are using username as postman and password as password. However I am having trouble setting up the Authorization header. This value can be overridden by a formaction attribute on a