What is the curl error 52 “empty reply from server”?

前端 未结 15 2831
忘了有多久
忘了有多久 2020-11-29 02:22

I have a cron job setup on one server to run a backup script in PHP that is hosted on another server.

The command I\'ve been using is

curl -sS http://w         


        
15条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 03:24

    you can try this curl -sS "http://www.example.com/backup.php" by putting your URL into "" that worked for me I don't know the exact reason but I suppose that putting the url into "" completes the request to the server or just completes the header request.

提交回复
热议问题