const BASEURL = "http://0.0.0.0:3000";

$(function(){
    $("#get-btn").click(function(){
        console.log("GET");
        $.get("http://mean-quote-machine.herokuapp.com/get_random_quote", function(data) {
            var json = JSON.parse(JSON.stringify(data));
            var author = json.quote.author;
            var text = json.quote.text;

            $("#quote-author").text(author);
            $("#quote-text").text(text);
        });
    });

    $("#post-btn").click(function(){
        console.log("POST");
    });
});

@@ -125,12 +125,57 @@
   $.
-get(
+ajax(%7B%0A            type: %22GET%22,%0A            url: 
 %22htt
@@ -229,16 +229,128 @@
 _quote%22,
+%0A            contentType: %22application/json; charset=utf-8%22,%0A            dataType: %22jsonp%22,%0A            success:
  functio
@@ -367,24 +367,28 @@
             
+  
+  
 var json = J
@@ -428,24 +428,28 @@
             
+    
 var author =
@@ -476,24 +476,28 @@
             
+   
+ 
 var text = j
@@ -513,16 +513,20 @@
 .text;%0A%0A
+    
         
@@ -566,32 +566,36 @@
 r);%0A            
+   
+ 
 $(%22#quote-text%22)
@@ -619,84 +619,954 @@
     
-%7D);%0A    %7D);%0A%0A    $(%22#post-btn%22).click(function()%7B%0A        console.log(%22POST%22
+    %7D,%0A            error: function(error) %7B%0A                console.error(error);%0A            %7D%0A        %7D);%0A    %7D);%0A%0A    $(%22#post-btn%22).click(function()%7B%0A        console.log(%22POST%22);%0A        var tmp = JSON.stringify(%7B%0A            %22author%22: %22Robin Flygare and Anthon Holmqvist%22,%0A            %22text%22: %22Minopt%22%0A        %7D);%0A%0A        console.log(tmp);%0A%0A        $.ajax(%7B%0A            type: %22POST%22,%0A            url: %22http://localhost:1880/%22,%0A            contentType: %22application/json; charset=utf-8%22,%0A            dataType: %22jsonp%22,%0A            data: tmp,%0A            success: function(data) %7B%0A                var json = JSON.parse(JSON.stringify(data));%0A                var author = json.quote.author;%0A                var text = json.quote.text;%0A%0A                $(%22#quote-author%22).text(author);%0A                $(%22#quote-text%22).text(text);%0A            %7D,%0A            error: function(error) %7B%0A                console.error(error);%0A            %7D%0A        %7D
 );%0A 

Add code for send POST request