PowerShell CRUD with WCF Data Services (OData)?

2019-08-11 02:37发布

I am trying to perform CRUD against WCF Data Services (OData). The Read portion is pretty well documented across the web… it’s the Create, Update and Delete that I am having trouble with.

2条回答
太酷不给撩
2楼-- · 2019-08-11 02:55

As for the documentation, have you looked at odata.org: http://www.odata.org/developers/protocols/operations#CreatingnewEntries It has a description and samples of all the common CRUD operations against an OData services.

You can also write a sample client application using any OData client (for example the .NET one) and use something like fiddler to see what requests are being made against the service, if you need to see the exact payload shape for your particular service.

查看更多
Juvenile、少年°
3楼-- · 2019-08-11 02:59

You can try this REST PowerShell module that Jaykul wrote.

查看更多
登录 后发表回答