taxes in Bolivia is implementing the Electronic Invoicing System that other countries have already implemented, what are the SOAP web services that are needed to develop an invoicing system
MarcoAndresito's questions
How can I check if a variable is Null
?
I already tried with:
If a Is null Then
'a tiene valor nulo
Else
'a es diferente de valor nulo
End If
I understand that they are architectures and that the idea of these is once the web page is downloaded, it does not download any HTML or CSS or JS again, if not, it only makes calls or requests and is answered with JSON
I am working on a web application with node js express
and would like to know:
- What is Header Enrichment?
- What is it for?
- What can I use it for?
I had been told that it is to recognize my final client, and that I could obtain their IP address.
It would be great if the cell phone number could also be recognized in case they consume the web application from the cell phone.
I am working with node.js
and express
. Now what I am looking for is to make "not found 404" page for my website;
this is my "app.js":
/**
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, user = require('./routes/user')
, http = require('http')
, path = require('path');
var app = express();
// all environments
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.set('view engine', 'ejs');
app.use(express.favicon());
app.use(express.logger('dev'));
app.use(express.bodyParser());
app.use(express.methodOverride());
app.use(app.router);
app.use(express.static(path.join(__dirname, 'public')));
// development only
if ('development' == app.get('env')) {
app.use(express.errorHandler());
}
app.get('/', routes.index);
app.get('/users', user.list);
app.get('/notfound', routes.index);
http.createServer(app).listen(app.get('port'), function() {
console.log('Express server listening on port ' + app.get('port'));
});
I was trying with app.get('/notfound', routes.index);
but it gives me an error ofCannot GET /notfound
Also try: app.get('/*', routes.index);
but it gives me an error of Cannot GET /*
.