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
Post a Comment