Answers for "angular httpclient post body"

0

angular httpclient post body

ngOnInit() {
    this.http.post<any>('https://jsonplaceholder.typicode.com/posts', { title: 'Angular POST Request Example' }).subscribe(data => {
        this.postId = data.id;
    })
}
Posted by: Guest on March-03-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language