Reputation: 51
I need to invoke a wcf rest service from command prompt. For eg, when i type
C:\Users\Admin>GET http://localhost:63088/RestCatalogService.svc/
it should return whatever the GET would return in a browser in string format.Any idea how to start with or links to any related resources will be greatly helpful.
Upvotes: 2
Views: 9652
Reputation: 29985
Install your favorite HTTP tool (cURL, wget) into your PATH, then use it.
Do note that that would look something more like :
C:\Users\Admin>curl http://localhost:63088/RestCatalogService.svc/
or
C:\Users\Admin>wget -O - http://localhost:63088/RestCatalogService.svc/
Upvotes: 5