title: How can I have multiple URL requests to fetch a single type of entity in AFIncrementalStore?
body: <p>Let's suppose I have a Core Data model using <code>AFIncrementalStore</code>, and I have multiple REST API endpoints for retrieving a list of objects of that model.  I can override <code>-requestForFetchRequest:withContext:</code> in <code>AFHTTPClient</code> like so:</p>
  
  <pre><code>- (NSURLRequest *)requestForFetchRequest:(NSFetchRequest *)fetchRequest
                           withContext:(NSManagedObjectContext *)context {
  
      NSMutableURLRequest *mutableURLRequest = nil;
      if ([fetchRequest.entityName isEqualToString:@"Post"]) {
          mutableURLRequest = [self requestWithMethod:@"GET" path:@"/posts/foo" parameters:nil];
      }
      return mutableURLRequest;
  }
  </code></pre>
  
  <p>In this snippet, I retrieve <code>Post</code> objects at <code>/posts/foo</code>, but I also need to retrieve another set from <code>/posts/bar</code>.  </p>
  
  <p>How can I do this?  The only solution I see is to make two models: one for <code>foo</code> and one for <code>bar</code>, but repeating yourself is lame, and there may be many more API endpoints that get <code>Post</code> objects for me that I'll need to support.  Is there some other approach that I'm missing?</p>