We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everyone,
at the moment I'm programming a small restful api with the Keil HTTP Web Server. I use the µVision 5.26.2.0 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.
Hi Franc,
I must have overlooked something in the documentation. Everything works fine.
Thanks for your help.