Saravanan Ponnusamy

Saravanan Ponnusamy

  • 365
  • 4.5k
  • 1.1m

show cURL/API requests in C# with webRequest

Apr 11 2018 2:16 AM
ref-- https://lob.com/docs#postcards_create
 
im trying to get json response by calling CURL from LOB.com.. 
 
WebRequest request = WebRequest.Create("https://api.lob.com/v1/postcards/psc_95d1eaf5b9a766\\-u test_48d2bbf75c2edc75151d119bfae5526:"); 
 
but im getting error in get response
 
WebResponse response = request.GetResponse(); 
 
is im doing any mistake in requesting CURL  ??
pls. give me the correct way to call those LOB CURL link..
 
dont give any weblink send me code
 
 

Answers (1)