This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200: How to add custom Web APIs' handler to HTTP web server?

Other Parts Discussed in Thread: CC3200

Greetings,

I need to define web APIs similar to follows and invoke handlers that will respond with json data.

192.168.1.1/application/custom_api

How is this possible with the HTTP server implemented in CC3200.

I have gone through the "HTTP Server" section in Network Processor Subsystem document:

www.ti.com/lit/swru368

It seems the simulink HTTP webserver can handle only Webpages with Tokens. It generates an event when it needs to find the value of a Token. Is my understanding correct? Is there a way to get the full URL at the application level?

Thanking in advance for your help.

-Amit Solanki

  • Hi Amit,

    You have understood correctly.
    It isn't possible to get the full URL at application level using our internal HTTP server.
    For such a use case you need to implement your own HTTP server on the host processor side (in the CortexM4 Apps processor).

    Thanks,
    Alon