in reply to Re: Paging with REST::Client?
in thread Paging with REST::Client?

Thanks for taking a closer look. I skimmed over the callback stuff in LWP::Useragent and it didn't leave me optimistic. Might be more useful if I write this using just LWP::UserAgent, but I don't think I will have time for that.

I'll look into writing to a file. My guess is that I'm going to hit the max data cap regardless, unless REST::Client is setting a cap to protect the user.

Hmm, maybe I'm thinking about this the wrong way. If I hit max data then I know I have pending changes, so a restart is needed. So I know I hit max data I can proceed with my processing (checking if a restart is already in progress). I'll check what error information REST::Client gets me and see what I can do with that.

Elda Taluta; Sarks Sark; Ark Arks
My deviantART gallery

Replies are listed 'Best First'.
Re^3: Paging with REST::Client?
by Anonymous Monk on Jan 14, 2020 at 01:02 UTC

    I'll look into writing to a file. My guess is that I'm going to hit the max data cap regardless, unless REST::Client is setting a cap to protect the user.

    Hi

    Can you explain what "max data cap" means?

    Because its not in the URL vocabulary, HTTP vocabulary, REST vocabulary, and predictably, not even in perl LWP module family or REST::Client vocabulary

    Whats is it that you're describing exactly?

    I know its not a sticker on the window of your car , right?