Created
March 20, 2025 12:22
-
-
Save sts-developer/7d74995abb5729d49acd22d77a3b94ec to your computer and use it in GitHub Desktop.
Sample code for Csharp Form1099OID Validate method
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/Form1099OID/Validate?SubmissionId=42c589e6-f824-4a0c-afca-8f592c62b2fd&RecordIds=7c1654e0-b0a0-4719-b5af-76596d79ca25"); | |
| request.Headers.Add("Authorization", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJlYzE0NTIxYjMxNGY0N2RhOTc5ODMzYjVlZjkxNDU5ZSIsImV4cCI6MTcyMzQ1MzY0OSwiaWF0IjoxNzIzNDUwMDQ5LCJpc3MiOiJodHRwczovL3Rlc3RvYXV0aC5leHByZXNzYXV0aC5uZXQvdjIvIiwic3ViIjoiYTQyMWE2MWUzOWUyY2U3ZSJ9.VM4jhtJ6xM3Nbc9JJDLxwESDj6wP7LCY2U1E51o9fbE"); | |
| 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