#include #include #include using namespace std; int main(int argc, char** argv){ uint8_t result; cout << "Content-type: text/plain" << endl; cout << "Status: 200 OK" << endl; cout << endl; cout << "Hello World!" << endl; /* * Retrieve user input via environment variable "PATH_INFO" */ char* pathInfo = getenv("PATH_INFO"); if(pathInfo == NULL){ pathInfo = "{NULL}"; } cout << "Your input was: " << pathInfo << endl; result = 0; return result; }