有没有办法在PowerShell中使用POST命令将客户端添加到我的Clockify工作区?
Clockify有一个API,所以我想知道怎么做。有谁有这方面的经验吗?
发布于 2020-05-20 20:04:07
您可以使用以下命令通过POST连接到REST端点:
Invoke-RestMethod -Method POST -Uri 'rest api uri' -Credential 'credentials to endpoint' -Headers 'headers passed' -Body 'Content Body' -ContentType 'text? json? xml?'
有关更多细节,请访问:Read the official documentation
https://stackoverflow.com/questions/61909003
复制相似问题