Hi Everyone,
I have used ngrok for port forwarding and created the link for my webservice
it is working well on the computer browser and mobile browser but when I am trying to access the same link from a mobile application. it shows following error
Can you help me identify the problem?
This is the link
[
ffbc-5-192-142-232.in.ngrok.io]
or is there any other way to make webservice online to access from windev mobile application?
Here is the code i used
oRequest is httpRequest
oResponse is httpResponse
oRequest.URL = "[
ffbc-5-192-142-232.in.ngrok.io];
oRequest.Method = httpGet
oResponse = HTTPSend(oRequest)
bufPhoto is Buffer
vRestVariant is Variant
IF ErrorOccurred THEN
Error(ErrorInfo(errFullDetails))
ELSE
IF oResponse.DescriptionStatusCode = "OK" THEN
vRestVariant = JSONToVariant(oResponse.Content)
LooperDeleteAll(LOOP_Content)
FOR ALL Member OF vRestVariant
bufPhoto = Decode(Member.m_Photo)
LooperAddLine(LOOP_Content,Member.m_sOUTLET1_JOBID,Member.m_sDOCUMENTID, Member.m_sCUSTMERNAME,Member.m_sCUSTOMERID, Member.m_sDESCRIPTION, Member.m_sPRICE, Member.m_sQUANTITY, Member.m_sTOTAL,bufPhoto)
END
ELSE
ToastDisplay("No Data")
END
END
LooperDisplay(LOOP_Content,taStart)
Thank you,
Regards
JAI STAR S