Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Disable ABP json wrapping on all responses and return only byte[] from rest api #10999


User avatar
0
Goontech created

Is it possible to return only byte[] and exclude the other ABP json wrapping fields.? On client byte[] data = Convert.FromBase64String(response.result);

Is it possible to have only byte[] in api response not the extra ABP specific fileds(i.e. targetUrl , unAuthorizedRequest, _abp ...)

so could able to consume from client like.. byte[] data = Convert.FromBase64String(response.DataAsText); byte[] data = response.Data;


1 Answer(s)