Skip to content
Snippets Groups Projects
Commit b411ff98 authored by Olabarrieta Palacios, Ignacio's avatar Olabarrieta Palacios, Ignacio
Browse files

h

parent cc76660e
Branches
No related tags found
No related merge requests found
......@@ -28,6 +28,8 @@ export class PutGeoJsonService{
"https://git.code.tecnalia.com/urbanite/public/-/raw/main/datamodels/maplayer-ngsi.jsonld"
],
"map": geojson}];
return this.http.post<any>(`${this.apiURL}`, input.toString());
const headers = { 'content-type': 'application/json'}
const body=JSON.stringify(input);
return this.http.post<any>(`${this.apiURL}`, body,{'headers':headers});
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment