Can we fetch data from post API?

A fetch() method can be used with many type of requests such as POST, GET, PUT and DELETE . GET method using fetch API: In this example, we are going to use JSONPlaceholder which provides REST API get and post random data such as posts, users, etc.

Sizin İçin Seçtik  Does fetch work in react?

Leave a Reply

Your email address will not be published. Required fields are marked *