#14 RESTful Web Services | Update Resource using PUT method

preview_player
Показать описание


Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :
Рекомендации по теме
Комментарии
Автор

Sir, I learnt Restful webservices from you very fastly and it improves my working very fastly.

for
Автор

great video. So easy to learn REST Web-services after watching urs videos.

rpstudio
Автор

Hi Naveen, Your Videos are Amazing, Waiting for some more videos on Spring and Web services Integration

gangadharkattimani
Автор

at 9:55 why is it that when we update data that is not stored in the database, it returns a 0 to the id?

maxlimgj
Автор

We could have checked the result set in the persistence class and if its null we could have returned an object with some particular string value assigned to its properties.

Saurabh
Автор

Hi Naveen,

In the @PUT method while checking if the data is already there for a particular id or not you mentioned to check the returned object id whether its 0 or not. But this will fail if we try to update the row in resource which already have id as 0. So, instead of update it will call create method. isn't it?

Thanks,
Saurabh

Saurabh
Автор

In line 57, is there any other short logic to compare the id with 0?

siddhanttomar
Автор

Hi Naveen,
Where shall i get this code?

MrSresre
Автор

i am waiting for 'partial update with put method'.

parthivmangukiya