Attempting to pass JSON body for deletion through angular JS -- 3

Attempting to pass JSON body for deletion through angular JS

I've currently got an endpoint that relies on a JSON body in order for deletion to happen. This is the following code:

if ([login to view URL] > 0) {

var deleteRequest = [];

for (var i = 0; i < [login to view URL]; i++) {

var service = {};

[login to view URL] = $[login to view URL][toDeleteService[i]].serviceId;

[login to view URL](service);


var deleteUrl = "api/class/" + $scope.targetEntity.serviceId+ "/student";

await asyncDeleteUrl(deleteUrl, deleteRequest);


async function asyncDeleteUrl(deleteUrl, toBeDeleted) {

return new Promise(function (resolve, reject) {

$[login to view URL](deleteUrl, toBeDeleted)

.then(function (response) {



function (errorResponse) {


$[login to view URL]('Bad Modification Interrupted', errorResponse);




I keep getting an error saying the required rest body is missing but I'm not sure why that would be the case. Any help would be appreciated, thank you.

Skills: C++ Programming, Software Architecture, Angular.js, JSON, Programming

See more: angular js and html5 developer, angular js backbone js, angular js freelance developer, angular js ios freelance, angular js java, angular js net, angular js node js, Angular js projects, angular js with net, Angular js , freelance developers angular js chennai, freelancer angular js developer, frontend angular js, html5 angular js, laravel angular js, looking for angular js developer jobs, ruby + angular js, ruby angular js, Angular js ,Node.js, Jquery,PHP, SQL, JSON, Angular JS,Hadoop,Hive,Html5,Ionic,JSON,JQuery,Microsoft access,Application and testing,Oracle,React.js,Business intelligent,E p

About the Employer:
( 3 reviews ) Belfast, Germany

Project ID: #24006821

2 freelancers are bidding on average £15 for this job


Hello, Greetings from Dark Bears!!! We have a competent team having a great exposure of 6+ years in Full Stack Web Software Development which includes understanding requirements, working on software design, coding, t More

£15 GBP in 2 days
(12 Reviews)

Hello, I am a senior web developer with over 20 years of experience. (and currently, a couple of designers joined the team) Last 6 years I am dedicated to frontend development. Javascript, Typescript, etc. here is my More

£15 GBP in 7 days
(0 Reviews)