Saturday, 13 July 2019

POST request question

Hello, I am asking this here because I don't where else I could do it.I'm sending information to a server in the following way: "www.thisisserverdns.com/send?varname=varvalue" and with express js I take those values with (where app is const app = express();:app.get('/send', function(request, response) { let varname=request.query.varname; Is this a POST request? If not, what is it? What I am doing? I don't understand it. When I look for information of POST requests, I find structures likePOST /test/demo_form.php HTTP/1.1 Host: w3schools.com name1=value1&name2=value2 I need help please!!!!

Submitted July 13, 2019 at 08:40PM by a7escalona

No comments:

Post a Comment