Every time I make a put or a post I see 2 calls:
- Request Method:OPTIONS | Status Code:200
- Request Method:POST | Status Code:201
For a GET I only see one call:
- Request Method:GET | Status Code:200
My implementation of the PUT or POST
constructor(
 private http: HttpClient   
) {}    
postShortForm(shortForm: any) {
const req = new HttpRequest('POST', this.preCheckUrl, shortForm, {
  reportProgress: true,
});
return this.http.request(req)
  .retry(3)
}
GET
constructor(
 private http: HttpClient    
) {}    
getApplication(id: any){
interface ItemsResponse {
  results: string[];
}
return this.http
  .get<ItemsResponse>(this.applicationSubmitUrl+this.id.id, {observe: 'response'})
}
Is angular doing something under the hood to make an options request or is something in my code triggering it?
 
    

 
     
    