<script> $.ajax({ type: "GET", headers: { Accept: "application/json; charset=utf-8", Token: "XXXX" }, withCredentials: true, url: "http://localhost:23557/api/GetValues", data: {"tel":"13714390531"}, contentType: "application/json", dataType: "json", success: function (data) { alert(data); }, error: function (data) { } }); </script>