Ошибка: Uncaught (в обещании): HttpErrorResponse: {"headers": {"normalizedNames": [], "statusText": "Bad Request"} только в браузере Safari - PullRequest
1 голос
/ 16 января 2020

Ошибка Below ниже на Angular Приложение при вызове метода PUT в браузере Safari, но то же самое работает в браузере Chrome.

 returnData = await this.http.put(applicationUrl, formattedData).toPromise(); 

[Error] Failed to load resource: the server responded with a status of 503 (Service Unavailable) 
       (pixel, line 0)
[Error] Failed to load resource: the server responded with a status of 503 (Service Unavailable) 
   (setuid, line 0)
 [Error] Failed to load resource: the server responded with a status of 400 (Bad Request) (11929, line 0)
 [Error] Error: Uncaught (in promise): HttpErrorResponse: 
 {"headers":{"normalizedNames":[],"lazyUpdate":null},"status":400,"statusText":"Bad Request","url":"http://localhost:4200/api/application/11929","ok":false,"name":"HttpErrorResponse","message":"Http failure 
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...