Motive
Motive

Reputation: 3111

Number of parameters that can be passed to a web service?

I am in the brainstorming phase of designing an API.

I was just wondering if I have to worry about the number of parameters or the number of characters that I will be passing to it?

Upvotes: 0

Views: 73

Answers (1)

moxy
moxy

Reputation: 1624

In GET method you're limited to 2048 characters reliably (at least Internet Explorer has this limit).

However, RFC 2616, Hypertext Transfer Protocol -- HTTP/1.1 doesn't specify a size limit for URL's.

There is no limit for POST method.

Upvotes: 2

Related Questions