I got this error No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:52038' is therefore not allowed access.
- <script>
- $(document).ready(function () {
- $.ajax({
- url: 'https://www.bickets.com/cinemas.aspx?type=3',
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded'
- },
- type: "GET",
- dataType: "json",
- data: {
- },
- success: function (result) {
- console.log(result);
- },
- error: function () {
- console.log("error");
- }
- });
- });
- </script>