I\'m trying to make a POST request from Parse to Firebase, using Parse Cloud Code and Firebase\'s REST API.
Parse.Cloud.define(\"createChatRoom\", function(r
I think it's better to use like this body: JSON.stringify({"hi": "hello"})
body: JSON.stringify({"hi": "hello"})
Answering my question:
JSON for Firebase must be wrapped in single quotes ':
'
body: '{"hi": "hello"}'