js -前后端交互开源接口
2021/4/23 18:58:26
本文主要是介绍js -前后端交互开源接口,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
接口地址
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); }) }
三、成功返回数据
这篇关于js -前后端交互开源接口的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-01Vue.js 是什么-icode9专业技术文章分享
- 2024-11-01Vue3入门教程:从零开始搭建第一个Vue3项目
- 2024-11-01详解vueRouter4基础教程
- 2024-11-01Vuex4课程:初学者的完整入门指南
- 2024-10-31Vue3课程:新手入门到初级掌握
- 2024-10-31Vue3课程:新手入门到初级应用详解
- 2024-10-31VueRouter4课程:新手入门与实战指南
- 2024-10-31Vuex4学习:从入门到初级实战教程
- 2024-10-31Vue3教程:新手入门与基础实战
- 2024-10-31Vue教程:新手快速入门指南