cURL error (3): URL using bad/illegal format or missing URL

in localhost the request works perfectly but in my server doesn`t, somebody knows tell me why?

Can you share some details?