Base solution for your next web application

Activities of "peopleteq"

Question

Hi,

I am using dynamic API. I would like to know if it is possible to return always 200 http status code and use error code files on API response. Currently I am getting API error via http response status and error code field is always 0.

Thanks

Answer

Sorry, error code field - error. Error field is always null

Answer

Sorry again. Error is not null in case of exception. Is it possible return 200 status code and error code in payload?

Answer

Thanks for info

Hi,

I use modular system of abp. Each module has own localization source (xml file). As I found Angular app uses one localization source with name predefined in const variable AppConsts.localization.defaultLocalizationSourceName. Is it possible to specify different localization source name for different modules on angular app?

Hi @ismcagdas

Thanks a lot for help!

Hi,

I need preporcess json payload on API call request, eg remove prefixes in name properties on json objects:

{ foo.bar.item: "value" }

to

{ item: "value" }

I need do this because not all API users can send data in required format. Can that be done within ANZ or that shold be done with ASP.NET Core only? I guess that can be done with middleware, I will very appreciate if you will show example

Thanks

A;so preprocessing should be done not for all API of the host, only for exact services and much better for exact paths

Just want to specify my request. JSON should be (if possible) be processed not in request (I mean modyfing request body), but somewhere on upper lever like validation works.

Thanks!

Showing 1 to 10 of 26 entries