JSFiddle - React, Tailwind, and code Playground

by shahverdy

JavaScript

$.ajax({
       type: 'GET',
       url:'http://anyDomain.com?someid=rrrr',
       dataType: "json",
       success: function(data){
          // success_fn(data);
       },
       error: function(jqXHR, textStatus, errorThrown) {
          // error_fn(jqXHR, textStatus, errorThrown);
       }
    });