These are chat archives for Colt/WDB-CodeTalk

Mar 2017
Mar 01 2017 02:46
Thank you. I did use the inspect tool however. But, still had issues most likely the ? Appreciate the help
Actually, if anyone wants a childish giggle - I used this cat image. Kinda suited the theme better for my twisted mind :)
Chris Cullen
Mar 01 2017 03:38

@123xylem"/addFriend", function(req,res){
    res.send("PostPage!");                                         //Post request HERE

    var friends=["sam","bob","sue","baz"];


app.listen(process.env.PORT, process.env.IP,function(){
    console.log("post ON!")

Quick Question: When I post a POST request on cloud9 it treats it like a get request and says cant get page...
Ive tested thepost request page in postman and that works but cloud9 wont open it!

<form action="/addFriend" mehtod="POST" >

    <input type ="text" placeholder="Friends Name">

^FORM FOR post request

Martine Ross
Mar 01 2017 06:39
@123xylem check the spelling of method the t and h are the wrong way wrong. It might be just something that simple.