curl --location --request GET 'https://api.bos.center/api/BOS/CibilScore/registeration' \
--header 'Content-Type: application/json' \
--data '{
"order_id": "1234",
"first_name": "John",
"middle_name": "Michael",
"last_name": "Doe",
"pancard": "FRS23456",
"date_of_birth": "01/01/2000",
"email_id": "max@example.com",
"mobile_number": "9999999999",
"RegistrationID": "BOS-554",
"CompanyCode": "sample string 10",
}'
import requests
import json
url = 'https://api.bos.center/api/BOS/CibilScore/registeration'
payload = "{
"order_id": "1234",
"first_name": "John",
"middle_name": "Michael",
"last_name": "Doe",
"pancard": "FRS23456",
"date_of_birth": "01/01/2000",
"email_id": "max@example.com",
"mobile_number": "9999999999",
"RegistrationID": "BOS-554",
"CompanyCode": "sample string 10",
}"
headers = {
"Content-type" : "application/json"
}
response = requests.request("GET", url, headers=headers, data=payload)
print (response.text)
var requests = require("request");
var options = {
"method" : "GET",
"url" : 'https://api.bos.center/api/BOS/CibilScore/registeration',
"headers" : {
"Content-Type" : 'application/json'
},
body: '{
"order_id": "1234",
"first_name": "John",
"middle_name": "Michael",
"last_name": "Doe",
"pancard": "FRS23456",
"date_of_birth": "01/01/2000",
"email_id": "max@example.com",
"mobile_number": "9999999999",
"RegistrationID": "BOS-554",
"CompanyCode": "sample string 10",
}'
};
request(options, function(error, response){
if(error) throw new Error(error);
console.log(response.body);
});
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get,'https://api.bos.center/api/BOS/CibilScore/registeration')
var content = new StringContent(
"{
"order_id": "1234",
"first_name": "John",
"middle_name": "Michael",
"last_name": "Doe",
"pancard": "FRS23456",
"date_of_birth": "01/01/2000",
"email_id": "max@example.com",
"mobile_number": "9999999999",
"RegistrationID": "BOS-554",
"CompanyCode": "sample string 10",
}",
null,"application/json"
);
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.bos.center/api/BOS/CibilScore/registeration',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS => '{
"order_id": "1234",
"first_name": "John",
"middle_name": "Michael",
"last_name": "Doe",
"pancard": "FRS23456",
"date_of_birth": "01/01/2000",
"email_id": "max@example.com",
"mobile_number": "9999999999",
"RegistrationID": "BOS-554",
"CompanyCode": "sample string 10",
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;