更新时间:2022-10-15 13:43:38
您可以使用cURL API( http://www.php.net/manual/en/ref.curl.php )或PHP函数stream_context_create:
http://us2.php.net/stream_context_create ,例如。我希望这有帮助!
I see that there are REST templates available but does anyone know how to include authentication in the header? I'm using PHP.
You could use the cURL API (http://www.php.net/manual/en/ref.curl.php) or the PHP function stream_context_create: http://us2.php.net/stream_context_create, for example.
I hope this helps!