JSFiddle - React, Tailwind, and code Playground

by Vikram Deshmukh

JavaScript

var oPost = jQuery.post;
jQuery.post = function() {
    arguments[0] = arguments[0].replace("http://", "https://");
    return oPost.apply(this, arguments);
};

$.post('http://www.google.co.in', function(d){ /* take action */});