Post vs Put

  Рет қаралды 94,131

.NET Interview Preparation videos

.NET Interview Preparation videos

Күн бұрын

Пікірлер: 97
@dnfvideo
@dnfvideo 3 жыл бұрын
30 Important C# Interview Questions : kzbin.info/www/bejne/eHzcn3h4hdacf68 25 Important ASP.NET Interview Questions : kzbin.info/www/bejne/ponQfpejf7p2Zsk 25 Angular Interview Questions : kzbin.info/www/bejne/Y5vIoKx6f6mmia8 20+ SQL Server Interview Questions : kzbin.info/www/bejne/iXbHcnluorh-iZY 5 MSBI Interview Questions : kzbin.info/www/bejne/a3abYmiXjaaqj7M
@Nemosaur
@Nemosaur 4 жыл бұрын
I was mainly for PUT vs POST but ended up learning so much more! Great explanation for idempotent vs non-idempotent too
@JyotirmayaMoha
@JyotirmayaMoha 5 жыл бұрын
By far this is the best video i have seen where the difference between PUT and POST is clearly mentioned. Thanks a ton Sir Jee.
@TheNaveid
@TheNaveid 3 жыл бұрын
I will never ever forget this now Thankyou so much
@MrStarcraftangle
@MrStarcraftangle 2 жыл бұрын
I have an interview tomorrow and I've learn a lot in this video. Many thanks! 🤗
@GadilkarVishal
@GadilkarVishal 3 жыл бұрын
very well explained the minute differences between the methods and between Idempotent and non-Idempotent calls!! thanks a lot!!
@zuzuba3481
@zuzuba3481 5 жыл бұрын
This Chanel deserve more then 1 million subscribers..
@aslamkazi5490
@aslamkazi5490 4 жыл бұрын
A clear and understandable way of PUT and POST method.
@azizulhaque4135
@azizulhaque4135 3 жыл бұрын
Thanks , thanks, and thanks for removing confusion post, put and patch method.
@ManikandanPandurangan
@ManikandanPandurangan 3 жыл бұрын
Very good and neat explanation. Thank you
@AshisRaj
@AshisRaj 4 жыл бұрын
Best video I have encountered so far for difference between PUT and POST. Thanks sir
@nallaspathfinder9779
@nallaspathfinder9779 4 жыл бұрын
watch this real interview: kzbin.info/www/bejne/fmnFYYWMa856ldU
@manoharsobhani3602
@manoharsobhani3602 5 жыл бұрын
Per HTTP standards Post is an insert and Put is an update (and upsert if a record doesn't exist)
@nallaspathfinder9779
@nallaspathfinder9779 4 жыл бұрын
watch this real interview: kzbin.info/www/bejne/fmnFYYWMa856ldU
@MrAksp
@MrAksp 5 жыл бұрын
Exactly what i was looking for. Can't make better video than this. Thanks
@ravimakwana389
@ravimakwana389 Жыл бұрын
Wow now it's so easy to understand and follow, Thanks
@jksharma7
@jksharma7 2 жыл бұрын
Thank you sir. you are a good teacher
@KJStreaming
@KJStreaming 4 жыл бұрын
wow, Nice Explanation Sir ...thanks
@MrDaringman
@MrDaringman 4 жыл бұрын
Post method comes with body section only while Put and Patch with header and body section. That's why Post we are using to insert a record while Put and Patch for an update purpose.
@nallaspathfinder9779
@nallaspathfinder9779 4 жыл бұрын
watch this real interview: kzbin.info/www/bejne/fmnFYYWMa856ldU
@Bolla.vedhasree
@Bolla.vedhasree 2 жыл бұрын
It was very informative, clear and useful .thank you
@zerosandones7547
@zerosandones7547 3 жыл бұрын
Standard HTTP Methods: > POST (add) - mainly used for ADD operations - the ID is generated in the server-side > GET (read/search) > PUT (add / ("full") update) - mainly used for UPDATE operations - the ID is generated in the client-side (maybe for some reason your app can create a custom ID) - if the record EXISTS on the server, that record is updated - if the record DOESN'T EXISTS on the server, that record is created > DELETE (remove) > PATCH (customized update - update only what is modified) Adhering to HTTP standards is nothing but REST principles.
@expertreviews1112
@expertreviews1112 5 жыл бұрын
Superb video. Lot of emphasis is placed on making the point clear!
@nitendratiwari3709
@nitendratiwari3709 3 жыл бұрын
OSM : Clear & very deep Understanding ..!!! Thanks you
@PankajKumar-xo8ng
@PankajKumar-xo8ng 3 жыл бұрын
Best way explanation.
@muhammadharis2205
@muhammadharis2205 4 жыл бұрын
very clear explanation. Thanks Sir
@yashsave
@yashsave 3 жыл бұрын
Brilliant. Just What I wanted. Nicely explained when to use Put, Post and Patch.
@temmmbebkd2922
@temmmbebkd2922 2 жыл бұрын
Hello sir, thank you so much for the explanation
@manishanand1513
@manishanand1513 5 жыл бұрын
Awesome video..best explanation of get ,put,post,patch
@zerosandones7547
@zerosandones7547 3 жыл бұрын
If you're here for post vs put: POST is mainly used for ADD operations PUT is mainly used for UPDATE operations PUT is used to: - if the record EXISTS on the server, that record is updated - if the record DOESN'T EXISTS on the server, that record is created
@ashishmayekar62
@ashishmayekar62 5 жыл бұрын
Is there any specific advantage of using PUT over POST? Or it is just to follow standard? Btw, this is a best explaination for Put vs Post. Thanks.
@haykkyureghyan8349
@haykkyureghyan8349 2 жыл бұрын
there is no specific advantage, it's for stsndsrt
@sandeepa4116
@sandeepa4116 3 жыл бұрын
Very well explained Sir! Thank you so much
@karthikkeyan4460
@karthikkeyan4460 3 жыл бұрын
12:38 You are not "spelling" it wrong, you may be just "pronouncing" it wrong. This is one of the best videos I've seen on this topic. Keep up the good work..!!!
@dodogo777
@dodogo777 5 жыл бұрын
Thank you sir! the best explanation of POST vs PUT ever!
@behji100
@behji100 5 жыл бұрын
Good conceptual explanation.
@Gauravkumar-jm4ve
@Gauravkumar-jm4ve 3 жыл бұрын
Please keep posting more like this ❤️🙏
@TarunSingh-je9my
@TarunSingh-je9my 3 жыл бұрын
I am updating code using post request and it works fine.
@SA-oh9bk
@SA-oh9bk 2 жыл бұрын
Thank you sir.
@ThePuneet681
@ThePuneet681 4 жыл бұрын
Thanks sir it is awesome explanation 👌👏👌👏
@upendrapatil6808
@upendrapatil6808 4 жыл бұрын
Very well explained...Sir...!!
@arunkumararjunan8608
@arunkumararjunan8608 5 жыл бұрын
In java crud repository, if we use save method for POST, it will create or update the resource in database, so in that scenario server side developers don't have control for POST methods to restrict it to create new resources alone because crud repository will update the resources if it is available there in database.
@bevedel
@bevedel 4 жыл бұрын
very helpful. thank you
@nallaspathfinder9779
@nallaspathfinder9779 4 жыл бұрын
watch this real interview: kzbin.info/www/bejne/fmnFYYWMa856ldU
@panchurii
@panchurii 6 жыл бұрын
using standard http call is the correct way, but there are exceptions like, for login we can not use GET, we can only use post there for security reasons.
@eysikal
@eysikal 4 жыл бұрын
Thanks a lot, sir! This was excellent.
@sriramkumar3530
@sriramkumar3530 6 жыл бұрын
Really good Explanation..Super
@prashantpranav8472
@prashantpranav8472 3 жыл бұрын
Wonderful
@arnoldquevedo5207
@arnoldquevedo5207 4 жыл бұрын
Thanks a lot
@thedude3544
@thedude3544 5 жыл бұрын
thanks you for the great video
@niks7454
@niks7454 3 жыл бұрын
Well explain
@jgraves4532
@jgraves4532 5 жыл бұрын
very nicely done thank you.
@apalanikumar
@apalanikumar 4 жыл бұрын
Nice video
@jakni3661
@jakni3661 4 жыл бұрын
Explanation of the difference between Put and Post starts at 10:38
@learningeveryday9603
@learningeveryday9603 4 жыл бұрын
Thanks.
@syedbabarali1
@syedbabarali1 5 жыл бұрын
Precious example with in short time...
@hohokidstv7298
@hohokidstv7298 3 жыл бұрын
Nice👍
@smyhasan7
@smyhasan7 4 жыл бұрын
Client generated Id can't be necessarily stored by server as most likely Id column will be Identity type, in that case it will be system generated. Pls clarify as it may mislead so many viewers
@smyhasan7
@smyhasan7 4 жыл бұрын
In this case if the server is unable to create a record with Id sent by client, then the response URL will not be same as request URL; something that the video alluded to. Not criticisng at all, just pointing out.
@nallaspathfinder9779
@nallaspathfinder9779 4 жыл бұрын
watch this real interview: kzbin.info/www/bejne/fmnFYYWMa856ldU
@gunsboy77
@gunsboy77 5 жыл бұрын
Thank you.
@srikanthr7219
@srikanthr7219 6 жыл бұрын
Very clear
@anishpal2397
@anishpal2397 5 жыл бұрын
well explained.:)
@vikasrajput6135
@vikasrajput6135 3 жыл бұрын
Remember, Idempotent = the id on the server remains SAME. Non-Idempotent = the id on the "server" CHANGES
@malayaprasadlenka9088
@malayaprasadlenka9088 5 жыл бұрын
Awesome sir
@CyberAbyss007
@CyberAbyss007 6 жыл бұрын
Thank you!
@sreeharimanoharan3203
@sreeharimanoharan3203 4 жыл бұрын
Awesome♥️♥️
@ramnagargoje8779
@ramnagargoje8779 3 жыл бұрын
good sir
@nehajain6751
@nehajain6751 6 жыл бұрын
Put and post is clearly explained. But i have a question regarding put update .. if we pass only few fields to be modified will it update the other remaining fields as default ,i.e. null or it will remain the same
@JyotirmayaMoha
@JyotirmayaMoha 5 жыл бұрын
You should use PATCH to update partial record. The other fields remain as it is and there will be no change. He has mentioned this in this video. Please watch the last 2 3minutes of this video for clear understanding.
@jashneaaftabi
@jashneaaftabi 2 жыл бұрын
Can we use post for all CRUD operations ? Or it is a bad practice?
@amamsharma372
@amamsharma372 2 жыл бұрын
Keep uploaded
@hohokidstv7298
@hohokidstv7298 3 жыл бұрын
Where should i use put or post only in insert new record... plz suggest with example
@sayannag9
@sayannag9 6 жыл бұрын
Can we not have customised update in PUT?....for example, in the above case, if we pass only the Name parameter in PUT and don't pass anything with Amount, won't the Name only get updated?...does it throw any error or its just a good practice to separate the type of updates using 2 different methods?
@tannubajpai4782
@tannubajpai4782 4 жыл бұрын
nic one Sir can you liberate it what is id generated by client.
@nallaspathfinder9779
@nallaspathfinder9779 4 жыл бұрын
watch this real interview: kzbin.info/www/bejne/fmnFYYWMa856ldU
@anaghzaccount
@anaghzaccount 5 жыл бұрын
Is there any working practice that defines how many APIs should be exposed? For example, is it a good practice to have post and put to Target the same resource or is it advisable to just use PUT and reduce the number of APIs?
@manjunathkannur2207
@manjunathkannur2207 3 жыл бұрын
Sir, what happens if I write insert method on HTTTPGET method
@charles-y2z6c
@charles-y2z6c 4 жыл бұрын
I wish I watched this video before I went on last interview
@nallaspathfinder9779
@nallaspathfinder9779 4 жыл бұрын
watch this real interview: kzbin.info/www/bejne/fmnFYYWMa856ldU
@amirabbasIT
@amirabbasIT 4 жыл бұрын
this happened to me too
@akshaychauhan681
@akshaychauhan681 3 жыл бұрын
I failed Interview because of this question
@dnncamargo
@dnncamargo Жыл бұрын
So, PATCH, as in PUT, it should be ideponent, but it's not. The PATCH method supplies a set of instructions to modify the resource, it doesn't use the URI like PUT method.
@ravigowda6999
@ravigowda6999 6 жыл бұрын
Very good video
@kaisujay
@kaisujay 3 жыл бұрын
15:36
@AmitPandey-ko7lj
@AmitPandey-ko7lj 4 жыл бұрын
Sir if client is generating Id and send request to post method. Can’t we write logic if id is present then update record or insert. If we can then What is exactly answer when anyone ask what will happen if we write update code in POST?
@rogerIndianKing
@rogerIndianKing 4 жыл бұрын
Great video! You mean pronunciation, not spelling.
@ishasharma2450
@ishasharma2450 3 жыл бұрын
Good Video!! And you are not spelling idempotent wrong, you should ask, If I am pronouncing it right or wrong,! :-)
@AkashGupta-gu7vd
@AkashGupta-gu7vd 5 жыл бұрын
What if we keep post method code in put method and put code in post method. I like to know how it identify the logic
@RanjeetKumar-gg7ie
@RanjeetKumar-gg7ie 4 жыл бұрын
YOU CAN WRITE ANY LOGIC INSIDE THIS, THE ISSUE IS IT'S A CONVENTION THAT ONE SHOULD FOLLOW OTHERWISE WHEN OTHERS WILL GO THROUGH YOUR CODE HE WILL HAVE TO GO THROUGH YOUR LOGIC TOO... COZ U HAVE CHANGED THE NAME OF METHODS :p
@sunilkumar-zf4dx
@sunilkumar-zf4dx 6 жыл бұрын
I still have a confusion about PUT VS PATCH ?
@JyotirmayaMoha
@JyotirmayaMoha 5 жыл бұрын
PUT : If you want to update all the records (All elements of a class) POST: To update few elements of the class.
@daalwada
@daalwada 5 жыл бұрын
@@JyotirmayaMoha Isn't the POST method used to insert new elements? PATCH is used to update few elements of the class.
@RanjeetKumar-gg7ie
@RanjeetKumar-gg7ie 4 жыл бұрын
@@daalwada POST CREATES A NEW RESOURCE & PUT FIRST SEARCH THAT EXISTING RESOURCE , IF FOUND PUT WILL UPDATE IT ELSE IT WILL CREATE IT :p
@sivasubramanian4499
@sivasubramanian4499 4 жыл бұрын
Thank you !
@birdofhermes6152
@birdofhermes6152 4 жыл бұрын
Thank you for the video
What is TPL ( Task Parallel Library) and how it differs from threads (c# interview questions) ?
13:29
C# Delegates explained
8:47
.NET Interview Preparation videos
Рет қаралды 517 М.
Thank you Santa
00:13
Nadir Show
Рет қаралды 29 МЛН
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 15 МЛН
MVC Video :- Difference between viewdata,viewbag,tempdata and session.(MVC Interview questions)
18:50
What is Idempotence? PUT vs POST | Simplified
18:54
Monis Yousuf
Рет қаралды 715
When to use - IEnumerable vs IList vs ICollection?
12:05
DotNetMastery
Рет қаралды 51 М.
c# (Csharp) threading interview question:- What is thread,background thread and foreground thread ?
12:16
c# (Csharp) and .NET :- Difference between IEnumerable and IEnumerator.
13:39
.NET Interview Preparation videos
Рет қаралды 496 М.
Interface in C#
38:55
.NET Interview Preparation videos
Рет қаралды 163 М.
Thank you Santa
00:13
Nadir Show
Рет қаралды 29 МЛН