ACLSystems / alumno

Sistema API para plataforma "Alumno"
MIT License
1 stars 0 forks source link

api upload falla con error STATUS 0 #156

Closed aclarturocastro closed 5 years ago

aclarturocastro commented 5 years ago

Access to XMLHttpRequest at 'https://alumno-test.superatemexico.com/api/v1/file/upload?dir1=IA-101&dir2=AI-101-test-2' from origin 'http://conalepvirtual-test.superatemexico.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

HttpErrorResponse {headers: HttpHeaders, status: 0, statusText: "Unknown Error", url: "https://alumno-test.superatemexico.com/api/v1/file/upload?dir1=IA-101&dir2=AI-101-test-2", ok: false, …}
error: ProgressEvent {isTrusted: true, lengthComputable: false, loaded: 0, total: 0, type: "error", …}
headers: HttpHeaders {normalizedNames: Map(0), lazyUpdate: null, headers: Map(0)}
message: "Http failure response for https://alumno-test.superatemexico.com/api/v1/file/upload?dir1=IA-101&dir2=AI-101-test-2: 0 Unknown Error"
name: "HttpErrorResponse"
ok: false
status: 0
statusText: "Unknown Error"
url: "https://alumno-test.superatemexico.com/api/v1/file/upload?dir1=IA-101&dir2=AI-101-test-2"
__proto__: HttpResponseBase
aclarturocastro commented 5 years ago

v1.11.2 a772ddc