0

This is my jquery function to call a ssl api I want it to do using C#. Is it possible same functionally in C#. this jquery function working fine.

        $('#dvShowData').html("");
        $('#dvShowData').html("Loading...");
        var CommandParams = {
            login: 'str', 
            password: 'str',
            command: 'str',                  
            ssl_domain_name: 'str'
        };

        jQuery.ajax({
            crossDomain: true,
            url: 'https://api.sslguru.com',
            type: 'POST',
            async: true,
            data: { params: JSON.stringify(CommandParams) },
            success: function (output) {
                // alert(output);
                $('#dvShowData').html("");
                $('#dvShowData').html(output);
            },
            error: function (output) {
                $('#dvShowData').html("");
                alert("error");
            }
        });
tereško
  • 58,060
  • 25
  • 98
  • 150

0 Answers0