You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result returned is: {"message":false,"success":true}
This was tested on main public server open.rocket.chat using the REST endpoint:
/api/v1/chat.sendMessage
Maybe it helps to point out that on the realtime api the response is different: a["{\"msg\":\"result\",\"id\":\"25\",\"result\":false}"].
Expected behavior:
We should use a proper HTTP status code response. If it's not possible, I think we should at least get a consistent result such as an empty object, but not false.
The text was updated successfully, but these errors were encountered:
Description:
Server Setup Information:
Steps to Reproduce:
{"message":false,"success":true}
This was tested on main public server
open.rocket.chat
using the REST endpoint:Maybe it helps to point out that on the realtime api the response is different:
a["{\"msg\":\"result\",\"id\":\"25\",\"result\":false}"]
.Expected behavior:
We should use a proper HTTP status code response. If it's not possible, I think we should at least get a consistent result such as an empty object, but not false.
The text was updated successfully, but these errors were encountered: