研究提到 LINK 调用的 REST API
。我只熟悉 post
、get
等,而不熟悉 LINK 和 Guzzle
环境,因此尝试找到有关此问题的更多信息以及如何在 Guzzle
中调用 LINK。有人知道这个吗?
https://penneo.readme.io/docs/sending-a-casefile-1
LINK /api/v1/folders/<folder id>/casefiles/<your casefile id>
最佳答案
https://guzzle3.readthedocs.io/http-client/request.html
You can create custom HTTP requests that use non-standard HTTP methods using the
createRequest()
method of a client object.
$request = $client->createRequest('COPY', 'http://example.com/foo', array(
'Destination' => 'http://example.com/bar',
'Overwrite' => 'T'
));
$response = $request->send();
关于php - 在rest API中调用LINK(php),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56996691/