简体   繁体   中英

Where to learn and construct a url for ajax using API?

I just found a jsfiddle sample http://jsfiddle.net/Braulio/vDr36/ that uses ajax.

My question is how does one know the url along with other parameters/functions etc.

For example

here the url is

var query = "http://www.flickr.com/services/feeds/photos_public.gne?tags=soccer&format=json";

I tried to look up in Flickr API website. Nothing was mentioned about this site?

Correct me what I am wrong. THanks.

you can read the documentation of any API which provide to check all the existing properties ,

for using Flickr API you can see the argument sections

https://www.flickr.com/services/api/flickr.photos.search.html

Search it in google as "(any library) API documentation " this will get you enough of information to use

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM