Hello,
I'm trying to implement custom HTTP server based on "portable" example and custom HTML file.
CC3220 works as AP and PC/Phone is running HTML as a client.
Sending / receiving GET and POST requests works well in both directions.
Question:
When the client sends GET request with "/get_id" endpoint, I get the SL_NETAPP_REQEUST_HTTP_GET event at SimpleLinkNetAppRequestEventHandler.
I've checked (pNetAppRequest->requestData.pMetadata) and I found "HTTP 1.1 /get_id" in TLV format as described in 9.7.1 Metadata Description in SWRU455M.
Seeing as HTTP_GET event is issued in event handler, I guess embedded HTTP server parses most of data.
What is correct procedure to retrieve an endpoint (or all required meta data)?
Parsing raw TLV buffer would be ok but I just wondered if there is a decent way to do it or is there better procedure.
Thanks,
Yun