简体   繁体   中英

GET Data from PHP

I have a PHP login script. I should check login credentials which user entered on C# Metro application. My php script returns json data when succesful. So how can I make a connection between c#-php?

I know something about HttpWebRequest. I think I should use GET method to check login credentials. I tried download data from this link :

www.example.com/myscript.php?username=xxxx&password=12345

But it says error. And I can't any data when I tried it on browser.

Can you share your script and the errors you are getting? If you access the url with the browser and get an error, the metro app will of course also get an error.

Also, please make sure you are using https.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM