Does fetch work with post?

Fetch also supports the POST method call . To do a POST request we need to specify additional parameters with the request such as method, headers, etc. In this example, we’ll do a POST request on the same JSONPlaceholder and add a post in the posts. It’ll then return the same post content with an ID.

Sizin İçin Seçtik  What is static method in Android?

Leave a Reply

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