Alot of programming languages require you to specifically list the protocols being used to respond to them(for example I believe NODE can do this), if the API was simple enough that it only had one endpoint using POST (or some other method). In fact I decided to write up some code that does exactly that:
Its really not so difficult to imagine that Nintendo might have just done something like this. Reducing the attack surface is always in the interest of security. The more endpoints are available the higher the risk.
-doulomb
Code:
var http = require('http');
var HttpDispatcher = require('httpdispatcher');
var dispatcher = new HttpDispatcher();
const PORT=8080;
function handleRequest(request, response){
try {
console.log(request.url);
dispatcher.dispatch(request, response);
} catch(err) {
console.log(err);
}
}
var server = http.createServer(handleRequest);
server.listen(PORT, function(){
console.log("Server listening on: http://localhost:%s", PORT);
});
dispatcher.onPost("/post1", function(req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Got Post Data');
});
-doulomb