Hi everybody,
Just couple of small questions i faced recently:
I'm about to make one micro service API for a typical hosting server working under Apache.
So CGI lib works well both get and post requests but how to get a header of HTTP request?
I have not found such method in Nim-CGI lib....
And second one: what is a proper way of making a site routing? Is it possible to route in one cgi-module or it should be separated to many? Again, there are almost none of examples of working cgi code, only trialAndError() method...
Thanks ahead!