0

I'm using AFNetworking in my iPhone application for building an http get request. In general I append all the parameters in the query string. The problem is that one of this parameters is a list of IDs which can become really big (till 4.000 id). How can I manage such a big parameter?

thanks a lot

Claus
  • 5,662
  • 10
  • 77
  • 118

1 Answers1

2

A URL can only be about 2000 characters, so something like what you're describing may not work. Instead, either send as an HTTP body in a POST request, or just divide things up into a few smaller requests.

mattt
  • 19,544
  • 7
  • 73
  • 84