Services
Welcome to Rizrv ! To get characters you need to make a call to the following url :
GET ALL Services
GEThttps://apis.rizrv.in/api/services/ca/Use LARAVEL cURL
$token = "USER_AUTH_TOKEN";
$ch = curl_init();
$header = array();
$header[] = 'Content-length: 0';
$header[] = 'Content-type: application/json';
$header[] = 'Authorization: Bearer '. $token;
curl_setopt($ch, CURLOPT_URL,"https://apis.rizrv.in//api/services/ca/");
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'GET' );
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$server_output = curl_exec($ch);
curl_close($ch);
$response = json_decode($server_output, true);
if ($response) { ... } else { ... }
{
"status": 200,
"message": "success",
"services": [
{
"id": 1,
"name": "electronic",
"description": "Loren Ipsumn",
"category_id ": "1",
"price ": "200.00",
"status": "1",
"created_at": "2023-08-08T11:22:01.000000Z",
"updated_at": "2023-08-08T12:09:20.000000Z",
}
]
}