eg:https://api.apiopen.top/getWangYiNews
一、平台内所有的接口
[
"/test",
"/loginUser",
"/userFeedback",
"/registerUser",
"/singlePoetry",
"/searchAuthors",
"/searchPoetry",
"/likePoetry",
"/recommendPoetry",
"/getSongPoetry",
"/getTangPoetry",
"/poetryFull",
"/poetryFullDetails",
"/getWangYiNews",
"/getImages",
"/deleteUser",
"/login",
"/updateUser",
"/register",
"/apiJson",
"/searchMusic",
"/musicBroadcasting",
"/musicBroadcastingDetails",
"/musicDetails",
"/musicRankings",
"/musicRankingsDetails",
"/developerUpdateKey",
"/getFeedback",
"/deleteFeedback",
"/developerLogin",
"/developerRegister",
"/EmailSearch",
"/getAllUrl",
"/json",
"/getSingleJoke",
"/getJokeUserInfo",
"/getJoke",
"/getJokeComment",
"/error",
"/videoHomeTab",
"/videoRecommend",
"/videoCategory",
"/videoCategoryDetails",
"/videoDetails",
"/todayVideo"
]
二、以jquery请求接口为例
function getData(){
$.post("https://api.apiopen.top/getWangYiNews",{
page:1,
count:15
},function(data,status){
console.log(data);
})
}
三、成功返回数据