javascript - error: NAVIGATION Error: Cannot match any routes. URL Segment: '' in Native Script -


i'm using peace of code in native-script call server side method , response "200 ok" , error @ same time. didn't set server yet. how can make sure link up?

js: response status: 200 url: null
js: navigation error: cannot match routes. url segment: ''

i'm calling method in code.

customersignup(customer: customer, confirmpassword: string) {   console.log(customer.username);   return this.http.post(config.apiurl +"api/customer/sign-up",   json.stringify({     param1: p1,     param2: p2   }), { headers: this.headers })   .topromise()   .then(response => { return response; })   .catch(error => { return error; }); } 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -