JSONPlaceholder - Fake online REST API for developers
using power shell to do a rest api call:
#Reading feeds from PowerShell team blog
$feeds = Invoke-RestMethod http://blogs.msdn.com/b/powershell/atom.aspx
#Filtering and Formatting results
$feeds | ForEach {
[PSCustomObject]@{
Title=$_.title;
Author=$_.author.name;
Link=$_.link.href;
Date=$_.published
}
} | ConvertTo-Json OR Format-List
Popular Posts
-
Kendo UI applying SUM in footer template kendo ui - KendoUI: Grid Summary values in Footer - Stack Overflow : ", footerTemplate:...
-
MVC grid example ASP.NET MVC Flexigrid sample - CodeProject : 'via Blog this'
-
A possible way of handling distributed transaction for multiple contexts without alleviation to MSDTC??? c# - Entity Framework - Using Trans...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment