Hi,
Correct me if I'm wrong but the callback method of the server is not called if the requested file does not exist and a location is specified?
I'm trying to implement a webserver having a Rest API . How can I use my callback function for request:path() matching /api/ and serving html files otherwise? (apart from rewriting the Handler processRequest function?)
Hi,
Correct me if I'm wrong but the callback method of the server is not called if the requested file does not exist and a location is specified?
I'm trying to implement a webserver having a Rest API . How can I use my callback function for
request:path()matching/api/and serving html files otherwise? (apart from rewriting the Handler processRequest function?)