Nov 22, 2022
0
Level 1
How to ignore this error?cURL error 52: Empty reply from server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
I know the server response is empty, but can I somehow ignore this error message? I make a HTTP api request to a external server he is doing well the job, but i got this error message.
cURL error 52: Empty reply from server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
This is my code and I don't have a echo or something else witch show the error code.
$response = Http::get('http://externalserver.com/api'); Can I somehow ignore this message ?
Please or to participate in this conversation.