Hi,
We used ABP Data Management Module and we can upload file with authserver swagger endpoints successfully.
When I try to upload with web host request, I got some error. Then, I added web host to cors-origin to authserver appsettings file. But I got a an other error from upload request. It returned successful array but id is broken. How can I request from web host?
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:
- ABP Framework version: v7.3.1
- UI Type: / MVC /
- Database System: SQL Server,
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
9 Answer(s)
-
0
hi
When I try to upload with web host request, I got some error. Then, I added web host to cors-origin to authserver appsettings file. But I got a an other error from upload request. It returned successful array but id is broken. How can I request from web host?
What's the error?
but id is broken.
Can you explain it in detail?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
access_token
Hi,
I couldn't see access_token in my request. I used file management service from AuthServer. I think I can't send a access_token to file managment service from WEB host. Because, I could upload file from AuthServer/Swagger endpoint. But I couldn't do this operation from web MVC UI with using by same endpoint. How should I send access_token?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
I think the
UPPY_UPLOAD_ENDPOINTshould be your web host url.But, Our file management module and endpoints are consumed from AuthServer. We want to use File Service as a different microservice actually. So we put it AuthServer for now, we will to move another microservice in the future.
How can I add a current token to microservice endpoint from js. file?
AuthServer/swagger
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)









