PHP fatal error: Uncaught exception 'Exception' with message

前端 未结 5 1848
清酒与你
清酒与你 2021-01-19 08:13

I have a PHP script that connects to an api and posts information to their systems, but when its trying to connect it throws a fatal error:

Fatal error: Unca         


        
5条回答
  •  孤城傲影
    2021-01-19 08:25

    or You can change the headers:

    $optional_headers = 'Content-Type: application/json')
    

提交回复
热议问题