at the moment I'm programming a small restful api with the Keil HTTP Web Server. I use the µVision 22.214.171.124 and the MDK-Middleware 7.12.0.
Some of my JSON responses are greater than 1400 bytes. How can I return larger responses from the function cgi_script?
You can do this by splitting the JSON response into several fragments. The returned value with the highest set bit tells the HTTP server to call cgi_script again. See the cgi_script documentation for details.
I must have overlooked something in the documentation. Everything works fine.
Thanks for your help.
View all questions in Keil forum