Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.route.queryParams.subscribe(params => {
- console.log(params);
- const token = params["token"];
- const x = "sdsd";
- console.log(x);
- console.log(typeof params);
- return this.http
- .post("api/v2/users/verify/:token", token, {
- headers: new HttpHeaders({
- "Content-Type": "application/json"
- })
- })
- .subscribe(
- result => {
- console.log(result);
- console.log("clicked");
- },
- error => {
- console.log(error);
- console.log("error");
- }
- );
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement