R
R
Roman Rakzin2015-06-13 20:24:36
Angular
Roman Rakzin, 2015-06-13 20:24:36

Why Angular refuses to send normal post requests?

Why Angular refuses to send normal post requests?
The same on jquery - works.
For example
$http.post("/api/trenirovka/get_voprosi", { "db": base_id}, function( data ) {
$scope.SpisokVoprosov=data;
});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
4
4ikist, 2015-06-13
@4ikist

The fact is that Angular by default sends requests suitable for Node.js.
https://gist.github.com/fannheyward/8194702

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question