Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7418987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:58:57+00:00 2026-05-29T07:58:57+00:00

I am using RestSharp to consume a REST style service. Pretty new to this

  • 0

I am using RestSharp to consume a REST style service.
Pretty new to this library and would appreciate some guidance on how to implement paging using RestSharp.

Any existing examples on how to achieve this?

RestSharp – http://restsharp.org/

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:58:58+00:00Added an answer on May 29, 2026 at 7:58 am

    There’s no concept of paging inherent to RestSharp. It’s just a thin wrapper over HTTP calls, so it’s what the HTTP endpoint you’re calling that determines what features are available, like how paging is handled.

    Here’s an example of an API that supports paging, and how you would call it with RestSharp:

    public CallResult ListCalls(CallListRequest options, int pageNumber, int count)
    {
        var request = new RestRequest();
        request.Resource = "Accounts/{AccountSid}/Calls.json";
    
        request.AddParameter("From", options.From);
        request.AddParameter("To", options.To);
        request.AddParameter("Url", options.Url);
    
        // send paging parameters required by API
        request.AddParameter("Page", pageNumber);
        request.AddParameter("PageSize", count);
    
        var client = new RestClient("http://example.com");
        return client.Execute<CallResult>(request);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to REST and this sounds like it should be pretty simple. In
I'm using RestSharp in a Mono project to upload some files and I have
I'm trying to connect to the last.fm rest services using restsharp. I can deserialize
Im trying to read some json data using RestSharp. But im having some problems
I have a slight situation. I'm interacting with a web service using RestSharp, where
I've added some libraries to a VS 2010 solution using Nuget (RestSharp, Twilio, etc.).
New to OAuth and RestSharp. I'm building a Windows Phone app, using RestSharp to
I'm making a GET request to Yammer.com's REST API using RestSharp (which is awesome),
(using AVFoundation.framework) #import AVFoundation/AVFoundation.h So I got a problem, I tried this code first
Using this program, I'm trying to set a 6x15 array to 0, then place

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.