mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
solved
This commit is contained in:
@@ -218,6 +218,8 @@ GetIdsPublicationNext(id:any){
|
||||
//my last tries
|
||||
|
||||
CreatePublication(folderId:any,body:any){
|
||||
|
||||
|
||||
console.log('body publi', body)
|
||||
const geturl = environment.apiURL + 'presidentialActions/'+folderId+'/v2/posts';
|
||||
let params = new HttpParams();
|
||||
@@ -226,6 +228,17 @@ GetIdsPublicationNext(id:any){
|
||||
headers: this.headers,
|
||||
/* params: params */
|
||||
};
|
||||
|
||||
/* this.http.post<any>(`${geturl}`, body, options).subscribe(
|
||||
(resposta) => {
|
||||
console.log('Resposta da solicitação POST:', resposta);
|
||||
},
|
||||
(erro) => {
|
||||
console.error('Erro na solicitação POST:', erro);
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
return this.http.post<any>(`${geturl}`, body, options)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user