Firstly, can I say thanks for the excellent HHTP Server example at This (and Appendix E of the NCK guide) got me started with TI-RTOS and gave a great explanation of how to serve a file from memory, SD card or via CGI.
I come from a web development background and would like a little more freedom to create a web server using REST style APIs. I'd like a URL something like /mytiva/workshop/light/on to call a CGI method. Hwever, I've found that using something like
efs_createfile("/mytiva/workshop/light/on", 0, (UINT8 *) &myMethod);
just returns a zero byte file and doesn't actually call myMethod unless the path ends in ".cgi".
Is there any way to have a little more flexibility over how URLs are handled? I noticed in the NDK guide that the HTTP server uses the function efs_filecheck to check whether the file represents a function call. Could I perhaps override the built-in function?
Thanks.