简体   繁体   中英

cURL returns 404 but browser 200 ok

I try to get html page content from a page on a remote server. But when I use cURL via a php script or on the command line from the server (Debian), a 404 error is returned for any url of the remote server. But if I paste this url on my browser, it returns the page correctly with all content... Why?... :-( Example of url : https://www.neptunestore.eu/fra/neptune-systems-module-de-surveillance-des-fluides.html

I receive 404 in browser with this message There was no 404 CMS page configured or found. . It seems to something wrong with this page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM