You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Challenge 12 stipulates that the http server should only handle POST requests but I was able to successfully pass the verification test without any POST logic checking in my solution:
var http = require('http');
var map = require('through2-map');
var port = process.argv[2];
var server = http.createServer( function(request, response){
request.pipe(map(function(currValue){
return currValue.toString().toUpperCase()
})).pipe(response);
});
server.listen(port);
Verification testing should check that GET requests do not receive the modified string.
The text was updated successfully, but these errors were encountered:
Challenge 12 stipulates that the http server should only handle POST requests but I was able to successfully pass the verification test without any POST logic checking in my solution:
Verification testing should check that GET requests do not receive the modified string.
The text was updated successfully, but these errors were encountered: