lwconquer
lwconquer

Reputation: 865

How can I find out the supported parameters in the query string for a URL?

Is there a way that I can know what parameters are been implemented in the query string of one certain URL? For example, with the http://esri.com/rest/services/myself/?f=JSON, how can I know it can have this f=json parameter in the query string if I only have http://esri.com/rest/services/myself/ URL?

Thanks for your help!

Wei

Upvotes: 1

Views: 398

Answers (3)

Aliostad
Aliostad

Reputation: 81660

If you have the code, you will look at what is used otherwise, you cannot do other than a wild guess.

Upvotes: 0

Joe White
Joe White

Reputation: 97656

The only way you could know is if the site owner tells you.

If you're working with a REST API, its documentation should include this information. If you're just going after some URL on the Internet, there's probably no way for you to know.

Upvotes: 0

John Saunders
John Saunders

Reputation: 161773

No, there's no way to do this.

Consider that the acceptable parameters may depend on the other parameters provided.

Upvotes: 2

Related Questions