Hi community
I am using the below code. But I am getting 401 error.
Please help me to understand what is going wrong.
Also getting CORS error , but my angular app is running in localhost:4200 and bonita is running in localhost:8080.
ngOnInit() {
const headers = { 'Content-Type': 'application/x-www-form-urlencoded' };
const body = { username: 'walter.bates',password: 'bpm', redirect: false };