I am trying to call GET / POST endpoints from my Angular 7 application with Java-REST API ( Jersey ) as a backend but facing typical CORS issue in the both of the following