Last active
July 3, 2024 13:39
-
-
Save sts-developer/22f6e027595b3a9b9c8a0d07a2bd1e6e to your computer and use it in GitHub Desktop.
Business RequestByUrl Logics C#
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var client = new HttpClient(); | |
| var request = new HttpRequestMessage(HttpMethod.Get, "https://testapi.taxbandits.com/v1.7.3/Business/Requestbyurl?payerref=126145&formtype=form1099&returnurl=https://example.com/&cancelurl=https://example.com/"); | |
| request.Headers.Add("Authorization", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL3Rlc3RvYXV0aC5leHByZXNzYXV0aC5uZXQvdjIvIiwic3ViIjoiYTQyMWE2MWUzOWUyY2U3ZSIsImF1ZCI6ImVjMTQ1MjFiMzE0ZjQ3ZGE5Nzk4MzNiNWVmOTE0NTllIiwiaWF0IjoxNzIwMDEyNjkxLCJleHAiOjE3MjAwMTYyOTF9.MCscmYtHNgFf4emMoEOeOnCJMlAy5AP0LUWkWoNivoU"); | |
| var response = await client.SendAsync(request); | |
| Console.WriteLine(await response.Content.ReadAsStringAsync()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment