web services in c with cgi

2016-06-13 2 min read C Programs
I was trying to setup a simply webservice to reply to POST requests. Earlier this was being done in tomcat which seem a little overkill to me since I already had a webserver up and running. So, a quick c program to respond to request is all that I needed. And here is the result. /* * ===================================================================================== * * Filename: Login.cpp * * Description: * * Version: 1.0 * Revision: none * Compiler: gcc * * Author: Amit Agarwal (), * Organization: * * == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == = */ #include <stdio . Continue reading