Closed johnMedlockDev closed 2 years ago
Make server listen on port 80 / 8080.
Define headers routes: status code 200 // 404 methods: GET // POST
routes: client GET / request response { try {
status code 200 methods: GET <!DOCTYPE html> <html lang="en"> <head> </head> <body> <p> some text</p> </body>
} catch (e){
status code 404 methods: GET <!DOCTYPE html> <html lang="en"> <head> </head> <body> <p>404 page not found</p> </body>
} }
John, Pejal, Garrison, Christian
Make server listen on port 80 / 8080.
Define headers routes: status code 200 // 404 methods: GET // POST
routes: client GET / request response { try {
} catch (e){
} }
John, Pejal, Garrison, Christian