简体   繁体   English

WP8中来自HTTP的GET响应与特定请求

[英]GET response from HTTP in WP8 with specific request

I want the locations of a restaurant and have this GET request: 我想要一家餐厅的位置,并具有以下GET请求:

GET /webservices/js-storelocator/wsvclocator.asmx/GetLocations?location=string&biasingPoint=string&targetCountry=string&searchDistance=string&ConsumerData=string&currentPage=string&resultsPerPage=string&longLat=string&metricOption=string&mapFilters=string HTTP/1.1
Host: www.subway.com

But I don't know how to implement a HTTP Get request in my WP8 App. 但是我不知道如何在我的WP8应用程序中实现HTTP Get请求。 I found many solutions, but this get request delivers the geolocation data of the restaurants. 我找到了许多解决方案,但是此获取请求提供了餐厅的地理位置数据。 And how can I read this data from the response of this Get request? 我如何从此Get请求的响应中读取此数据? And whats are all those parameters in this GET request? GET请求中的所有这些参数是什么? Thanks in advance for help and for correction. 在此先感谢您的帮助和纠正。

All the information is information for the server. 所有信息都是服务器的信息。 You can read a Get response easy, follow this example http://blogs.msdn.com/b/pakistan/archive/2013/06/14/getting-started-with-web-requests-amp-json-in-windows-phone.aspx 您可以轻松阅读“获取响应”,请遵循以下示例http://blogs.msdn.com/b/pakistan/archive/2013/06/14/getting-started-with-web-requests-amp-json-in-windows -phone.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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