Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/31.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 错误:未捕获(承诺中):HttpErrorResponse:{headers";:{normalizedNames";:[],“statusText";:“Bad Request”}仅在Safari浏览器上_Angular_Promise_Angular6 - Fatal编程技术网

Angular 错误:未捕获(承诺中):HttpErrorResponse:{headers";:{normalizedNames";:[],“statusText";:“Bad Request”}仅在Safari浏览器上

Angular 错误:未捕获(承诺中):HttpErrorResponse:{headers";:{normalizedNames";:[],“statusText";:“Bad Request”}仅在Safari浏览器上,angular,promise,angular6,Angular,Promise,Angular6,在Safari浏览器上调用PUT方法时,角度应用程序出现以下错误,但在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

在Safari浏览器上调用PUT方法时,角度应用程序出现以下错误,但在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