arge06 Member Licensed User Longtime User May 11, 2020 #1 Hello, I wrote a .NET web application for use in my apps. DB and WebApp is in my website. I'm sending data with url, it writes into table and also reading data with url and data is written to page. But I don't know how to read page. I'm using these URLs for read and write data. Read : http://localhost:5232/Page1.aspx?ID=001A Write : http://localhost:5232/Page2.aspx?VALUE=20&ID=001A I read data with URL and page displays me 111 222 333 444 555. I see this when use the url in browser but how can I read the page in application and assign these values to variables ? I searched the forum and I found some examples but I couldn't run any of them, there are libraries Http, OkHttp, OkHttputils, OkHttputils2 and etc.. Which one can I use, could you please give me a running example ? Thanks in advance.
Hello, I wrote a .NET web application for use in my apps. DB and WebApp is in my website. I'm sending data with url, it writes into table and also reading data with url and data is written to page. But I don't know how to read page. I'm using these URLs for read and write data. Read : http://localhost:5232/Page1.aspx?ID=001A Write : http://localhost:5232/Page2.aspx?VALUE=20&ID=001A I read data with URL and page displays me 111 222 333 444 555. I see this when use the url in browser but how can I read the page in application and assign these values to variables ? I searched the forum and I found some examples but I couldn't run any of them, there are libraries Http, OkHttp, OkHttputils, OkHttputils2 and etc.. Which one can I use, could you please give me a running example ? Thanks in advance.
DonManfred Expert Licensed User Longtime User May 11, 2020 #2 Use okhttputils2 Note that it does now work with localhost on android. Localhost would be the android device on Android. Use the ip from your local network Upvote 0
Use okhttputils2 Note that it does now work with localhost on android. Localhost would be the android device on Android. Use the ip from your local network
arge06 Member Licensed User Longtime User May 11, 2020 #3 DonManfred said: Use okhttputils2 Note that it does now work with localhost on android. Localhost would be the android device on Android. Use the ip from your local network Click to expand... Localhost was just a sample for URLs, program and db are running in my webhost. I'll try okhttputils2. Thank you very much. Upvote 0
DonManfred said: Use okhttputils2 Note that it does now work with localhost on android. Localhost would be the android device on Android. Use the ip from your local network Click to expand... Localhost was just a sample for URLs, program and db are running in my webhost. I'll try okhttputils2. Thank you very much.