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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -