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

Ionic HTTP Post v. Angular HTTP Post

$
0
0

This is my ionic.project file

> {
>   "name": "proxy-example",
>   "app_id": "",
>   "proxies": [
>     {
>       "path": "/api",
>       "proxyUrl": "apireferencepoint which is a url"
>     }
>   ]
> }

and my services.js looks like this

> angular.module('starter.services', [])

>  // For the real endpoint, we'd use this
> .constant('REF', {
>   url: 'localhost:8100/api'
> })

Viewing all articles
Browse latest Browse all 228595

Trending Articles



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