Click here to Skip to main content
15,937,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to consume a restful webservice where i have to pass username and password and api key.through given url how can we get data
Posted
Comments
Good. Carry on. What is the issue?
Dilan Shaminda 27-Oct-14 13:51pm    
have you tried anything? where did you get stuck?

Do you want to get the user Name and Password from Server (or) you want to send the user Name and password to the server? If you want to get data from Server use Http operation GET and if you need to send data to server use POST

Here are few links which you might find useful

VB
http://www.codeproject.com/Tips/765853/Retrieve-Data-From-WCF-Webservice-using-WCF-REST

http://jonathanvanderoost.com/2014/02/08/create-restful-wcf-service-api-with-json-receive-generic-json/
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900