Connect to MongoDB/mongoHQ with HotTowel localy in visual studio
i am trying wthout success to post a json file in MongoDB/mongoHQ using
ajax but all i recieve is :
XMLHttpRequest cannot load
https://api.mongohq.com/databases/myFirsttry/collections/customers/documents?_apikey=bblctgd9pffzwhrrq5oo.
Origin http://localhost:56936 is not allowed by
Access-Control-Allow-Origin. localhost:56936/:1
error
first i was thinking it s due tu same origin policy but after a time i
find out that it was not the problem since i can run Get
can anyone help me solving this ?
Bootstrap modal popup example on page load
ReplyDeleteAjax live data search using jQuery PHP MySQL
How to fetch data from database in PHP and display
How to insert image in database using PHP
Difference between tuple and list in Python
Bootstrap datepicker example
Bootstrap star rating input example
PHP Fix: invalid argument supplied for foreach