1b.app
Link copied -

When sending a post request with a file, onebox performs several get requests

Here https://univer.1b.app/api/orders/update/?dataFromBody=1

options {

"login": "log",

"password": "pass",

"orderid": "some_number",

"customorder_TestDekrafail": "download_link" }

After an example of such a request, the server receives a different number of requests (3-4 GET requests for a file). I can send you the exact parameters via PM or email.

The question is, why knock several times? Is it possible to somehow influence these automatic requests?
Original question is available on version: ru

Answers:

You get several knocks on the file, because first the file is checked by different checkers, they look to see if it is a valid type, if everything is ok with the contents, etc., after that it is downloaded and placed on our server. This shouldn't give any noticeable load, what's the problem now?
18.09.2023, 21:13
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment