-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
REST API always give 200 OK even when failed to parse JSON.
client ajax request is like this
$http.post('<rest api addr>')
.success(function(data) {
// some statements for success.
})
.error(function(data) {
// some satements for error.
});but this code only run success statements because the API server gives 200 OK
Metadata
Metadata
Assignees
Labels
No labels