ansh97 / Building-Web-Applications-in-PHP-answer-key

coursera
28 stars 80 forks source link

Expecting POST to Redirected to a GET - found POST #3

Open sachdevaritik opened 4 years ago

sachdevaritik commented 4 years ago

I am doing the PHP course on Coursera I am stuck in the 8th-week solution. please help me.

xXWarMachineRoXx commented 2 years ago

same error

Jalal096 commented 2 years ago

I am doing the PHP course on Coursera I am stuck in the 8th-week solution. please help me.

Have you got the solution then please help me...

N2749 commented 11 months ago

same please help

abdulghaffar66 commented 9 months ago

the server responses (HTTP headers and status codes) to understand how the server is handling the POST request and whether there's a subsequent redirection to a GET request. Additionally, reviewing any middleware, routing configurations, or frameworks being used can help identify the source of this behavior.

elxinoconequis commented 8 months ago

Same error here

Update:

Fixed it. It has todo with the autograder, it is expecting thta you use the password 'php123' instead of the password from the example 'meow123'.

I had to re-read the requirements for the assginmenthttps://www.wa4e.com/assn/rps/

ch1llc0d3 commented 3 months ago

Yes, in order the fix the autograder and stuff do this: 1). Download the zip file, unzip, and save in the LAMP/htcdocs or the name XAMP or MAMP. 2). See the code you need to put in the titles, they give you a string of letters and numbers to put inside the 3). Go to Login from the sample, and inspect the element. Copy the part that says $stored_hash = 'asd123' (example). 4). Paste it in your own project. </p> <p>The assignment it says there, that the password is meow123, but the autograder is expecting php123. That's why it wasn't working. </p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>