We help IT Professionals succeed at work.

ASP.Net VB - Curl API

brasso_42
brasso_42 asked
on
Hi

I'm trying to use a curl API in my ASP.Net application (VB).  I've read a few articles but cant seem to get any of them to work.

The manual for the API is here:
http://www.edgewave.com/wp-content/uploads/2014/08/EdgeWave_ePrism_Provisioning-API.pdf

I need to use a token then if I could do a simple get account list I'm sure I could figure the rest out from there.

Could any one please help me with some sample code?

Many thanks!!
Comment
Watch Question

Senior Developer
Commented:
This is not a Curl API. It's something like a web service REST style.

Curl is only used in the doc to show how it works. So you simply can do it with a WebClient.

You need to understand how it works, then implementing it is easy. So install Fiddler on your development system and curl. Then exercise it with curl and your credentials. Fiddler shows you what is going on behind the scenes on the http layer. Then you can replay this with WebClient.