Satheesh Kumar Satheesh Kumar - 5 months ago 86
Ajax Question

Get JSON content by using ajax in Firebase console

I have just created a dynamic page by using firebase console. It's working as my expectation. But instead of using javascript to retrieve data from firebase database, is there any possibilities to use

method to retrieve, edit, delete the json content, which is in firebase.

Answer Source

Firebase expects the body to be a JSON string, so you'll need to stringify it:

$(document).ready(function () {
   var param = {data: "value", data: "value"};

     url: '',
     type: "POST",
     data: JSON.stringify(param),
     success: function () {
     error: function(error) {
       alert("error: "+error);

This will accomplish the same by the way:

  function () {
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download