Closed vahidvdn closed 4 years ago
I want to pass such a param:
this.locationData.location.title = 'test'; this.locationData.location.phone= '123456'; params.push({ name: "location", value: this.locationData });
But it sends a string like: "object Object" to the server. Either I should do it throw the loop or stringify the json. While this is possible in the Angular http module.
I want to pass such a param:
But it sends a string like: "object Object" to the server. Either I should do it throw the loop or stringify the json. While this is possible in the Angular http module.