• 0208 1234 422
  • Contact Us
Park Square Consulting
  • ABOUT
    • Our Clients
    • Our Tools
    • Agile Software Development
    • Performance Optimization
    • Responsive Web Design
    • Recruitment & Visa Sponsorship
    • 125 Group
  • PRODUCTS
    • Paxton Net2 JSON API
    • Landlord & Tenant Admin
    • Managing Agent Block Management
    • Social Media Legal Tools
  • .NET CORE
    • .Net Core Config Debugger NEW
    • ARM Build Agent NEW
  • AZURE DEVOPS
    • Build Screen
    • Custom Build Tasks
    • AzDO Command Line Tool
    • ARM Build Agent NEW
  • C# CODE
    • Nuget Gallery
    • .Net Core Config Debugger NEW
    • Gracenote C# API
    • Realtime Trains API
    • Test Data Generators
    • Universal Plug & Play (UPnP)
    • Sky Q Remote Control NEW
    • Super Console
    • C# SQL Bulk Insert
    • JSON REST Api Client
    • SOAP Client
  • SERVERS
    • Our Data Centres
    • Virtual Private Servers
    • Docker Container Hosting
    • Server Colocation
    • Hosted Exchange 2019 Mailboxes
Slider Image

MICROSOFT DEVELOPMENT SPECIALISTS

C#, SQL Server, MVC & Web API

LEARN MORE
Slider Image

AGILE SOFTWARE DEVELOPMENT

Achieve higher quality, lower cost and better maintainability

LEARN MORE
Slider Image

IMPROVE SITE & APP PERFORMANCE

Code analysis, refactoring & SQL Server profiling

LEARN MORE

ParkSquare.RestClient

BUILD STATUS Continuous Integration Build Status

INSTALLATION

Install-Package ParkSquare.RestClient

Download

DESCRIPTION

Http / REST client for making strongly typed web service calls. Supports async and cookie management.

Documentation

            
    // Example using the REST Client to perform Sky single-sign on

    var restClient = new RestClient(new HttpClient(), new MessageBuilder());
    var uri = new Uri("https://skyid.sky.com/signin");
    var result = await restClient.PostUrlEncodedFormAsync(uri, request).ConfigureAwait(false);
        
    // Check result for cookie 'skySSO'

© 2019 Park Square Consulting Limited.
Registered office: 4 Landmark House, 32 Park Place, Leeds, LS1 2SP. Registered in the UK no. 8355358. VAT registration no. 208392410.