In postman, I have:
POST:    https://myapp.herokuapp.com/login
BODY:     {"email": "myemail@gmail.com", "password": "123456"}
and it works.
In provider, I have:
public login(credentials): Observable<any> {
    const httpOptions = {
      headers: new HttpHeaders({
        'Content-Type':  'application/json'
      })};
    return this.http.post(API_URL + '/login', {params: {email: credentials.email, password: credentials.password}}, httpOptions);
  }I get Not Found error. In console in Network tab, request method is OPTIONS. What is wrong?
EDIT: I get following error:

