Expand my Community achievements bar.

SOLVED

Image request is truncated if its longer

Avatar

Level 1

Hi all,

Is there any reason why adobe would truncate the image requests? Is there a image request length restriction? We are using AppMeasurement 2.4.0 version and according to this article it should not truncate the request Handling Truncated Image Requests

Screen Shot 2018-04-11 at 1.15.06 PM.png

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

I would recommend removing the image as it has some sensitive data.

As for the question. It is not truncating the data, but using a different method to send the data. When the image request is too large, the library changes the method from GET to POST.  In the screenshot you have shared, you can see that the Request Method is POST.

In short, GET method sends data through the URL, while POST transfers it through the message body. For more information, you can read here: http://www.differencebetween.info/difference-between-get-and-post-method

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Hi,

I would recommend removing the image as it has some sensitive data.

As for the question. It is not truncating the data, but using a different method to send the data. When the image request is too large, the library changes the method from GET to POST.  In the screenshot you have shared, you can see that the Request Method is POST.

In short, GET method sends data through the URL, while POST transfers it through the message body. For more information, you can read here: http://www.differencebetween.info/difference-between-get-and-post-method