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
import java.io.BufferedReader; | |
import java.io.OutputStream; | |
import java.io.InputStreamReader; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
public class Main { | |
public static void main(String[] args) throws Exception { | |
// URL of the API endpoint |
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
import http.client | |
import json | |
conn = http.client.HTTPSConnection("testapi.taxbandits.com") | |
payload = json.dumps({ | |
"RecordIds": [ | |
{ | |
"RecordId": "02d1de6d-c04e-48f4-a149-eb7a85af136c" | |
} |
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
const axios = require('axios'); | |
let data = JSON.stringify({ | |
"RecordIds": [ | |
{ | |
"RecordId": "02d1de6d-c04e-48f4-a149-eb7a85af136c" | |
} | |
] | |
}); | |
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.Post, "https://testapi.taxbandits.com/v1.7.3/Form1099OID/GetbyRecordIds"); | |
request.Headers.Add("Authorization", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhM2VkMWE1ZTkwMWI0YmQzOTY5NTYwMTljYTRjMWZmOCIsImV4cCI6MTcyMzQ1Nzc1NiwiaWF0IjoxNzIzNDU0MTU2LCJpc3MiOiJodHRwczovL3Rlc3RvYXV0aC5leHByZXNzYXV0aC5uZXQvdjIvIiwic3ViIjoiOTc0YTFiZDU5Yjk3ZTE1YyJ9.DOdss97pIy6_rrS2IMDG5H8-sj0sg2cRF5upCVhBpBU"); | |
var content = new StringContent("{\r\n \"RecordIds\": [\r\n {\r\n \"RecordId\": \"02d1de6d-c04e-48f4-a149-eb7a85af136c\"\r\n }\r\n ]\r\n}", null, "application/json"); | |
request.Content = content; | |
var response = await client.SendAsync(request); | |
Console.WriteLine(await response.Content.ReadAsStringAsync()); |
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
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.net.URLEncoder; | |
import java.nio.charset.StandardCharsets; | |
import java.util.HashMap; | |
import java.util.Map; | |
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
import http.client | |
conn = http.client.HTTPSConnection("testapi.taxbandits.com") | |
payload = '' | |
headers = { | |
'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJlYzE0NTIxYjMxNGY0N2RhOTc5ODMzYjVlZjkxNDU5ZSIsImV4cCI6MTcyMzQ1MzY0OSwiaWF0IjoxNzIzNDUwMDQ5LCJpc3MiOiJodHRwczovL3Rlc3RvYXV0aC5leHByZXNzYXV0aC5uZXQvdjIvIiwic3ViIjoiYTQyMWE2MWUzOWUyY2U3ZSJ9.VM4jhtJ6xM3Nbc9JJDLxwESDj6wP7LCY2U1E51o9fbE' | |
} | |
conn.request("GET", "/v1.7.3/Form1099OID/Validate?SubmissionId=42c589e6-f824-4a0c-afca-8f592c62b2fd&RecordIds=7c1654e0-b0a0-4719-b5af-76596d79ca25", payload, headers) | |
res = conn.getresponse() |
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
const axios = require('axios'); | |
let config = { | |
method: 'get', | |
maxBodyLength: Infinity, | |
url: 'https://testapi.taxbandits.com/v1.7.3/Form1099OID/Validate?SubmissionId=42c589e6-f824-4a0c-afca-8f592c62b2fd&RecordIds=7c1654e0-b0a0-4719-b5af-76596d79ca25', | |
headers: { | |
'Authorization': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJlYzE0NTIxYjMxNGY0N2RhOTc5ODMzYjVlZjkxNDU5ZSIsImV4cCI6MTcyMzQ1MzY0OSwiaWF0IjoxNzIzNDUwMDQ5LCJpc3MiOiJodHRwczovL3Rlc3RvYXV0aC5leHByZXNzYXV0aC5uZXQvdjIvIiwic3ViIjoiYTQyMWE2MWUzOWUyY2U3ZSJ9.VM4jhtJ6xM3Nbc9JJDLxwESDj6wP7LCY2U1E51o9fbE' | |
} |
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()); |
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
import java.io.OutputStream; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
public class Main { | |
public static void main(String[] args) throws Exception { | |
// URL of the API endpoint |
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
import http.client | |
import json | |
conn = http.client.HTTPSConnection("testapi.taxbandits.com") | |
payload = json.dumps({ | |
"SubmissionId": "dc888e87-ecf4-4d64-a13b-61458cb86763", | |
"RecordIds": [ | |
{ | |
"RecordId": "868fb473-ea8d-4d9c-8c89-cfc13ed173c6" |
NewerOlder