Call (Consume) ASP.Net Web API using jQuery AJAX

on Mar 23, 2021 03:23 AM

I have call a web api by using ajax and get data but i have face issue.

how to display data.

Please send me demo format.

<div class="pricing-main">
    <div class="container">
        <div class="row">
            <div class="col-md-4">
                <div class="back-color">
                    <div class="plan">
                        <div class="topclr">
                            <h2> Basic</h2> -- here i have display description
                            <h3> Monthly $299</h3> -- here Plan
                            <p>Annualy $2990</p>
                        <ul id="oran">
                            <button class="choose" type="button">Choose Plan</button>


$(document).ready(function () {
    type: "GET",
    url: "/api/Product/GetProducts",
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    success: function (response) {



Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Mar 23, 2021 03:25 AM