Joined April 2013
·
Posted to
Post x-www-form-urlencoded data with Restangular
over 1 year
ago
I would use:
Restangular.allUrl('search', 'http://127.0.0.1:8000/').getList({where: '{"_id": {"$in":["someid","someid"]}}'});
Posted to
POSTing from Angular to Django
over 1 year
ago
Nice simple workaround. If you do a lot of REST calls with Django, you should also checkout the Django Rest Framework which enable all this natively, and much more!
Achievements
174 Karma
14,708 Total ProTip Views
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
I'm sorry, I don't understand your question. Also, your code above misses some quotes and string concatenation operators.