Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

HTTP Post to php api returns null

$
0
0

Re,

On my side I am using http and post also like this :

$http({
url: 'url',
method: 'post',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
data: data
}).success(function (data, status) {
})

But I am not stringify the data and I am not setting any proxy. Hope this will help


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>