Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1523

Integrating AngularJs 1.5.7 Api with Dream Factory

$
0
0

@pritam.maiti wrote:

I am developing an Admin Panel in AngularJs whose apis are coming from Dream Factory.But when i am trying $http.get or post to call api url that time i am getting error

XMLHttpRequest cannot load http://localhost:8080/api/v2/mysql/_table/contact?include_count=true&limit=15&offset=0&order=last_name+ASC. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. The response had HTTP status code 403.

Then i try jsonp.In jsonp the above error is not comming but i am geting a different error

Uncaught SyntaxError: Unexpected token :

I have implemented your own angular-sdk-master.But still getting the first error.

Please let me know how i will solve this error.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1523

Trending Articles