0
niall created
- ABP Framework version: v8.2.2
- UI Type: MVC
- Database System: EF Core ( MySQL)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
I create a app-pro template project. now i need access the api at HttpApi.Host by other language (python,Golang etc ...), Could tell me how to do it? or where the documents?
3 Answer(s)
-
0
hi
The API is standard HTTP.
So you can call the API endpoint to get an access token or for business logic.
You can try to generate the HTTP proxy from swagger.
https://github.com/OpenAPITools/openapi-generator https://github.com/RicoSuter/NSwag
-
0
I can access the public api, but How to get access token to access protected api?
-
0
If your app uses OpenIddict you can get a token from
connect/token
endpointhttps://abp.io/support/questions/6747/How-to-generate-access-token-in-backend-only-with-user-email