Which HTTP method should be used for creating a new resource?

  • DELETE
  • GET
  • POST
  • PUT
The HTTP method "POST" should be used for creating a new resource on the server. When a client sends a POST request, it submits data to be processed to a specified resource. The server then creates a new resource based on that data and returns the appropriate response.
Add your answer
Loading...

Leave a comment

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