Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wpearse
on May 1, 2018
|
parent
|
context
|
favorite
| on:
You know how HTTP GET requests are meant to be ide...
Correct. Site now has a form and a button. /toggle now responds only to POSTs, and redirects back to /.
bawana
on May 2, 2018
[–]
i must zsound so obtuse. How does redirection happen? If there is a web page with a button, then what is /toggle? Is it another web page on his site? Isnt a button some code in html on the index.html page?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: