在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:OscarGodson/JSONP开源软件地址:https://github.com/OscarGodson/JSONP开源编程语言:JavaScript 75.4%开源软件介绍:JSONP Beta 1.0Alpha StageWhatThis is a super tiny JSONP library for when you don't need jQuery or another JS library just for JSONP requests. WhyAfter searching for "JSONP examples" and "JSONP tutorials" I was dissapointed by the lack of straightforward JSONP stuff out there. While there is nothing wrong with jQuery and I use it every single day, sometimes you need to do some JSONP without using jQuery and so I wrote this for myself, but feel free to use it! The min version is only 621 bytes. HowThe high-level signature for the function looks like this:
To get my Twitter avatar for example you'd do:
Sometimes the third-party site require a custom method name, like Flickr, which requires
You can also pass parameters in the form of a JSON object, like so:
Browser Support
To do...
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论