cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I Created a Gateway Service for Read,Create and Update . In Read(Get),Create(Post) I'm getting Response Data But for

Update(Put) I'm not getting any Response data as shown below

Thanks ...

0 Likes
View Entire Topic
AshwinDutt
Active Contributor

Hello

Successfull update will always shows 204 and no content is retuned.

So u need to raise an exception when ur update fails with the error messages.

When no error are encountered during update and if its success then u can decide update is successful based on 204 status.

U can also set ur custom messages as well like Syam suggested with appropriate success message returned by ur backend logic.

Regards

Ashwin