摘要:        
从特定网址获取json数据--> 将json数据序列化字典格式 --> 将字典格式数据反序列化json数据传递给模板 工具:rest_frawork rest_frawork库安装-->pip安装 Python3 -m pip install django-rest-framework --> 将r    阅读全文
posted @ 2017-07-04 20:31
MK3945
阅读(1135)
评论(0)
推荐(0)
        
            
        
        
摘要:        
进步重在学习,阅读了几篇有关restful api 的技术文章,分享一下: http://www.ruanyifeng.com/blog/2014/05/restful_api.html http://www.ruanyifeng.com/blog/2011/09/restful    阅读全文
posted @ 2017-07-04 18:52
MK3945
阅读(126)
评论(0)
推荐(0)
        
            
        
        
摘要:        
reqwest数据格式: methods:{ getData:function () { var self = this; reqwest({ url:"http://swapi.co/api/people/?format=json", type:"json", method:"get", succ    阅读全文
posted @ 2017-07-04 18:38
MK3945
阅读(595)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号