<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1425547860044_2625"><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="">Hi there,</span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2899">I was wondering why there is a maximum content length for the body of an application/JSON.</span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2898">I ask this because using the </span><span class="" style="margin: 0px; padding: 0px 2px 1px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;">ARI</span><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2915"> service you have the possibility to raise an event to a user or to send a message to an endpoint and to attach some information to the body content using the </span><span style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="">variables</span><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""> parameter. </span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2714">If the body content length is greater than 4096, then the request will fail because it tries to get the body of the HTTP request using the </span><span style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="">ast_http_get_contents</span><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2715"> method which has this limitation. This limitation doesn't happen when you want to retrieve the information about all the endpoints from the system using a </span><span style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="">GET</span><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2909"> HTTP request to </span><span style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="">/endpoints</span><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="">URI, even if the content length of the response is greater than 4096. </span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2733">Therefore I have the following questions:</span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2734">1. Was this the desired design? </span><span style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2716">If this is the case I believe that it would be better to write this limitation on the <span class="" style="margin: 0px; padding: 0px 2px 1px;" id="yui_3_16_0_1_1425547860044_2914">ARI</span>documentation.</span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2722">2. Is it safe to extent the value of </span><span style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2917">MAX_CONTENT_LENGTH</span><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2717"> macro definition?</span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2721">3. Should I split the content of the </span><span style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2720">variables</span><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2718"> parameter in smaller chunks?</span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2719">4. Is there another workaround for this kind of situation?</span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="" id="yui_3_16_0_1_1425547860044_2724">Happy hacking,</span><br style="margin: 0px; padding: 0px; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class=""><span style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13.1000003814697px; line-height: 18.3400001525879px;" class="">Claudiu</span><br></div><div id="yui_3_16_0_1_1425547860044_2625" class="" style=""><br class="" style=""></div></div></body></html>