How to get Unique Records

And I answered there (Curl Output is not complete - #2 by dadoonet). So let's keep the discussion there.