Tool/software:
I am porting the local ota to provisioning example in SDK7.1. After finishing provisioning, I cannot access those GET API.
I was trying to use GET to get the netlist and find it reply 404
[HTTPSRV::WARN] HTTGetHandler: can't find handler for URI=/netlist.txt
[HTTPSRV::WARN] HTTGetHandler: can't find handler for URI=/param_device_name.txt
However, I am able to use POST action for adding said and password to the device
192.168.50.246/.../profile_add
__SL_P_P.B=3&__SL_P_P.A=ThisisaTest&__SL_P_P.C=0123456789&__SL_P_P.D=5
I am porting the local ota to provisioning example in SDK7.1
What do i miss? I can access /settings.html to config ssid and pasword
The only different in the init section, that I didn't use SSL and only HTTP port
#if OTA_SUPPORT
HTTPSRV_IF_params_t *pHttpSrvParams = NULL;
#if LOCAL_OTA_SUPPORT
HTTPSRV_IF_params_t httpsSrvParams;
httpsSrvParams.pClientRootCa = NULL;
httpsSrvParams.pServerCert = NULL;
httpsSrvParams.pServerKey = NULL;
httpsSrvParams.primaryPort = 80;
httpsSrvParams.secondaryPort = 0;
pHttpSrvParams = &httpsSrvParams;
#endif
ret = OTA_IF_init(pHttpSrvParams, OtaCallback, 0, NULL);

I can also use post action correctly



I can access the settings.html page with correct information