Observe the headers your browser sends when making a request, and then include those same headers in your "curl" request. Certain servers require specific headers that browsers send by default, which might not be included in your "curl" request.
You can see the headers send by inspecting the network activity. You can follow this guide for Chrome: https://developer.chrome.com/docs/devtools/network/