$.ajax({
type: "GET",
url: baseURL + "root/first/second/",
contentType: "application/json",
success: (res)=>{
console.log(res);
}
});
$.ajax({
type: "POST",
url: baseURL + "root/first/second/",
contentType: "application/json",
data: JSON.stringify(obj),
success: (res)=>{
console.log(res);
}
});