Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 7th, 2020 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string serviceUrl = Dts.Variables["$Project::ServiceUrl"].Value.ToString();    
  2.                 HttpClient client = new HttpClient();    
  3.                 client.BaseAddress = new Uri(serviceUrl);    
  4.                 // Add an Accept header for JSON format.    
  5.                 client.DefaultRequestHeaders.Accept.Add(    
  6.                     new MediaTypeWithQualityHeaderValue("application/json"));
  7.  
  8. ------->>> tutaj brakuje mi coś tkaiego bym miał: POST https://blabla.pl/api/transfers
  9.             { "TransferKey":"NDD",
  10.               "SourceID":"0321-2103-3021321231",
  11.               "SourceCode":"ALEALE"
  12.         }  
  13.                 TUTAJ JAKOS TE DANE MUSZE W POST WRZUCIC
  14. -----<<<
  15.  
  16. if (response.IsSuccessStatusCode)    
  17.                 {    
  18.                     var result = response.Content.ReadAsAsync<Response>().Result;    
  19. Dts.TaskResult = (int)ScriptResults.Success;    
  20.                 }    
  21.             }    
  22.             catch (Exception ex)    
  23.             {    
  24.                 Dts.TaskResult = (int)ScriptResults.Failure;    
  25.             }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top