While all tests pass successfully in Postman, I'm encountering an issue where requests are not reaching the backend when testing from the front-end.
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
@Injectable({
providedIn: 'root'
})
export class VerifyCodeService {
readonly baseURL = 'http://localhost:3000/api/auth' ;
constructor(private http: HttpClient) { }
check_verification(verify){
// console.log(verify);
return this.http.put(this.baseURL+`/check_verification`, verify);
}
}