{"id":20753503,"url":"https://github.com/anderly/powercurl","last_synced_at":"2025-10-24T15:33:08.665Z","repository":{"id":140077191,"uuid":"2242308","full_name":"anderly/PowerCurl","owner":"anderly","description":"A simple curl-like module for PowerShell","archived":false,"fork":false,"pushed_at":"2011-08-22T07:29:18.000Z","size":191,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T11:12:06.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anderly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-21T04:59:20.000Z","updated_at":"2025-03-25T01:37:37.000Z","dependencies_parsed_at":"2023-03-11T19:06:22.309Z","dependency_job_id":null,"html_url":"https://github.com/anderly/PowerCurl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderly%2FPowerCurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderly%2FPowerCurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderly%2FPowerCurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderly%2FPowerCurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anderly","download_url":"https://codeload.github.com/anderly/PowerCurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251343947,"owners_count":21574459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T09:13:44.153Z","updated_at":"2025-10-24T15:33:03.646Z","avatar_url":"https://github.com/anderly.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PowerCurl\n\nA simple curl-like module for PowerShell.\n\n## Why\n\nI've been working with Twilio and a bunch of other rest APIs and wanted an easy way to test them without having to leave Visual Studio. So, I figured why not build a basic curl-like PowerShell module (using the same command-line signature) and deliver it via NuGet so that it can be used via the NuGet Package Manager console.\n\n## Usage\n\nJust like curl: \n\n\tpowercurl -X \u003ccommand\u003e \u003curl\u003e -u \u003cusername\u003e:\u003cpassword\u003e\n\t\nThanks to PowerShell, you can also use one of 3 other defined aliases (pcurl, curl, pc):\n\n\tpcurl -X \u003ccommand\u003e \u003curl\u003e -u \u003cusername\u003e:\u003cpassword\u003e\n\t\nor\n\n\tcurl -X \u003ccommand\u003e \u003curl\u003e -u \u003cusername\u003e:\u003cpassword\u003e\n\t\nor\n\n\tpc -X \u003ccommand\u003e \u003curl\u003e -u \u003cusername\u003e:\u003cpassword\u003e\n\n## Example using Twilio Rest API\n\n\tpcurl -X GET 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}.xml' -u {AccountSid}:{AuthToken}\n\nor\n\n\tpcurl -X GET 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}.json' -u {AccountSid}:{AuthToken}\n\n## Benefits of PowerShell\n\nUsing the Twilio example above, you could easily parse this xml using:\n\n\t([xml](pcurl -X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}.xml -u {AccountSid}:{AuthToken})).TwilioResponse.Account\n\nPowerShell Output:\n\n\tSid             : {AccountSid}\n\tFriendlyName    : {Your Account Name}\n\tStatus          : {active | suspended | closed} \n\tDateCreated     : {DateCreated}\n\tDateUpdated     : {DateUpdated}\n\tAuthToken       : {AuthToken}\n\tType            : {Type}\n\tUri             : /2010-04-01/Accounts/{AccountSid}.xml\n\tSubresourceUris : SubresourceUris\n\n## Disclaimer\n\nThis is by no means a full implementation of all of curl's features. Initially, I plan to support basic HTTP GET, POST, PUT, DELETE, etc. If you want to see more, fork me and feel free to add to it.\n\n## Copyright\n\nCopyright (c) 2011 Adam Anderly\n\n## License\n\nMS-PL","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanderly%2Fpowercurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanderly%2Fpowercurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanderly%2Fpowercurl/lists"}