How can I send SOAP XML via Curl and PHP?

前端 未结 6 448
暖寄归人
暖寄归人 2020-12-01 02:15

This has been bugging me for days; I\'m trying to send a SOAP post via Curl but I just keep getting a \"couldn\'t connect to host\" error, but, I really can\'t see how.

6条回答
  •  天涯浪人
    2020-12-01 02:35

    Your also using the wrong Content-type, application/xml is the correct type. But that shouldn't make any difference to the cURL request.

提交回复
热议问题