Search found 4 matches

by bluehouse
Tue Jul 24, 2018 11:09 am
Forum: API
Topic: Access-Control-Allow-Origin
Replies: 8
Views: 3695

Re: Access-Control-Allow-Origin

That is all i need but still it requires me to allow CORS do you have any sample javascript or Angularjs application which works correctly to see.
by bluehouse
Mon Jul 23, 2018 7:40 pm
Forum: API
Topic: Access-Control-Allow-Origin
Replies: 8
Views: 3695

Re: Access-Control-Allow-Origin

Sorry it is not published yet i am working locally, but it works perfectly if i user CORS (cross origin resource sharing) in my browse
by bluehouse
Mon Jul 23, 2018 12:21 pm
Forum: API
Topic: Access-Control-Allow-Origin
Replies: 8
Views: 3695

Re: Access-Control-Allow-Origin

still it is the same here is the output do you i have to use any other options(i am using this code right now $http.post('https://api.beds24.com/json/getAvailabilities', $scope.bookingdatas).then(function (data, status, headers, config) { alert("success"); console.log(data); },function (data, status...
by bluehouse
Sat Jul 21, 2018 11:29 am
Forum: API
Topic: Access-Control-Allow-Origin
Replies: 8
Views: 3695

Access-Control-Allow-Origin

Hello, i have booking page and i am using Angularjs to access the api everything is working perfectly except the following error so how can i solve this "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.beds24.com/api/json/getAvailabilities. (...