Pranav Shah

Pranav Shah

  • 1.1k
  • 291
  • 43.8k

How to Call Rest Web service in WP8

Apr 28 2015 2:11 AM
hi
 
i am new in Rest Web service.
I am developing windows phone 8 application.
I have following things 
server => 'http://webchannel.co/demo/einsurer/api/rtainsurer/'
http_user' =>xxxxxxxx
http_pass => xxxxxxx
api_key => xxxxxx
http_auth=> basic
test for method : xyzmethod
parameter: lang=>'en'
 
now i want to call this web service using Webclient or Httpwebrequest 
how call this using this two class.
 i already try but it give result like "Remote server not found"
i also know how to check this type API in Soup UI
 
please help me through or any link as possible as. 
 
thanks

Answers (7)