put or post code example
Example: post vs put
Post -
to create new object on the server
Put -
to update object in server with new value
Post -
to create new object on the server
Put -
to update object in server with new value