Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80876

How to chunck into characters of max 256 and consume API efficiently?

$
0
0

Hi guys

 

i need to  chunck the texts into chunck of 256 characters string in order to use it in as an argument when consuming an api. So I am wondering what the efficient and fast way would be for doing this with minimal performance loss.

I self tought to:

1 - Check per text attribute the length of it, and if longer then 256 characters, make a new "Chunck(s)" entities below the enitity of that attribute. Set the chunk in the API Queue

2 - Consume the API with the chunk

 

Anyone an better idea?

 


Viewing all articles
Browse latest Browse all 80876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>