cURL Is Not Working...

Dear,
Provider, Your Curl is not working. I have tried to resolve it from my side but I couldn’t I guess you have to do it from your WHM root panel, I hope you understand my question & solve it ASAP, Thanks…

1 Like

I’m sorry, but I don’t understand your question. You say “cURL is not working”? What about it doesn’t work? What have you tried to do with it and what do you see when you use it?

If cURL was actually broken, the forum would be flooded with complaints. And you’re the only one reporting problems, so I doubt cURL is broken in general.

Dear,
Sir, Thanks for your fast replay, when I cURL from Linux CLI, I get 403 Forbidden error, same code I have used in my system, it worked fine, but when I put into your hosting I am getting this error, so that’s why I was thinking that if cURL didn’t enable, so please ensure me why I am getting that error,

s

Please check this is the error, I have attached the image

@TrueCaller said:
Dear,
Sir, Thanks for your fast replay, when I cURL from Linux CLI, I get 403 Forbidden error, same code I have used in my system, it worked fine, but when I put into your hosting I am getting this error, so that’s why I was thinking that if cURL didn’t enable, so please ensure me why I am getting that error,

Then whose cURL were you referring to when you said that “your cURL is not working”? Because it sounds like you’re talking about cURL on your computer. But that’s not our cURL, that’s your own cURL?

As to why it doesn’t work, see this article: https://infinityfree.net/support/javascript-error-using-api-or-mobile-android-app/

And next time, please search the knowlegde base and forum first:
https://forum.infinityfree.com/discussion/3414/php-curl-problem-return-this-site-requires-javascript-to-work
https://forum.infinityfree.com/discussion/3110/why-i-cant-get-myhtml-code-when-using-curl

Uh Ok, I understand now, your free hosting only for hosting a website not for API or cURL from CLI, Thanks for your update

My last question is that this free hosting will remain free or it will stop after while?

@TrueCaller said:
Uh Ok, I understand now, your free hosting only for hosting a website not for API or cURL from CLI, Thanks for your update

My last question is that this free hosting will remain free or it will stop after while?

InfinityFree will always be free and I doubt that it will happen.
They have giant servers interconnected to each other to give you fast servers and that’s why they have big uptime.
And also they can still run their service because of the ads, imagine how many users is on infinity free and their are ads on the client area, forums and cpanel and they have overall 100,000 clients this ads will surely paid off! ?