Khaja Moizuddin
what is the difference between PUT and POST Request in WebAPI?
By Khaja Moizuddin in .NET on Dec 10 2016
  • Khaja Moizuddin
    Dec, 2016 10

    PUt is used for update and POST is used to submit the request

    • 2
  • kiuytrserdtfhyjgukhil
    Jun, 2024 28

    Post method is used to update a existing data or modify the data in the server where as put method used to create a new data in server.

    • 0
  • Gnanavel Sekar
    Feb, 2017 20

    PUT puts a file or resource at a specific URI, and exactly at that URI. If there's already a file or resource at that URI, PUT replaces that file or resource. If there is no file or resource there, PUT creates one. PUT is idempotent, but paradoxically PUT responses are not cacheable.POST sends data to a specific URI and expects the resource at that URI to handle the request. The web server at this point can determine what to do with the data in the context of the specified resource. The POST method is not idempotent, however POST responses are cacheable so long as the server sets the appropriate Cache-Control and Expires headers.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS