Description / Steps to reproduce / Feature proposal
From #1206
A PATCH / PUT request returns true while other REST endpoints return a JSON output. Should these methods also return a JSON response to be consistent?
Current Behavior
- Returns a
boolean for PATCH / PUT
Expected Behavior
- Return
JSON ... something like {success: true} or {result: <value-returned-by-juggler>}
- Update existing code / templates / tests
cc: @strongloop/sq-lb-apex @raymondfeng @bajtos Thoughts? Is this the intended behaviour or a bug? If it's the intended behaviour, do we want to look into changing it for LB4?
See Reporting Issues for more tips on writing good issues
Description / Steps to reproduce / Feature proposal
From #1206
A
PATCH/PUTrequest returnstruewhile other REST endpoints return a JSON output. Should these methods also return a JSON response to be consistent?Current Behavior
booleanfor PATCH / PUTExpected Behavior
JSON... something like{success: true}or{result: <value-returned-by-juggler>}cc: @strongloop/sq-lb-apex @raymondfeng @bajtos Thoughts? Is this the intended behaviour or a bug? If it's the intended behaviour, do we want to look into changing it for LB4?
See Reporting Issues for more tips on writing good issues