I designed the get and put API. In Put API, if I add a new value, it is updating with the new value, but they need to update to get a response with the previous value. I designed the get and put API. In the API, if I add a new value, it is updating with the new value, but they need to update to get a response with the previous value. for efor exam get response data:"abc" put request data:"test" now we getting like this in get data:"test" but they require like in get data:"abc","test" please any one guide me to achieve this sceniorfor exam get response data:"abc" put request data:"test" now we getting like this in get data:"test" but they require like in get data:"abc","test" please any one guide me to achieve this s
asked
Harshitha R
1 answers
0
Hi Harshitha R,
Can you check if you are actually creating a new object (under the put) and not that you retrieve the existing object and change the value of that object?