我正在尝试使用php查询网站,但出现错误:
re_path(r'count/(\w+)?', count, name=count)
有什么我想念的吗?
尝试-“集成Windows身份验证”,在“工具”>“安全性”>“本地Intranet”区域>“站点”>“高级”下,列出了目标网站。
$ php main.php
PHP Warning: file_get_contents(https://api.transport.nsw.gov.au/v1/tp/stop_finder?
outputFormat=rapidJSON&type_sf=any&name_sf=Wynyard+Station&
coordOutputFormat=EPSG%3A4326&TfNSWSF=true): failed to open stream: HTTP request failed!
HTTP/1.1 401 Unauthorized
in /home/cg/root/7504993/main.php on line 14.