我用Trigger.io做了一个应用程序,当我尝试使用
forge.request.ajax({});
在firubug上它显示了一个错误
触发时:
[ERROR] SyntaxError: Unable to parse JSON string -- From line 3 of http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
Uncaught Reference Error : forge is not defiend
我添加了模块forge.request和脚本
<script src="ht
我正在用django和django_rest_framework建立一个网站。我用httpie测试了rest。
但是,当我尝试使用jQuery执行相同的调用时,我会得到一个错误。
jquery.min.js:4 GET http://localhost:8000/api/recentposts/?{%22last_id%22:1650} 500 (Internal Server Error)
带有httpie的调用如下
http get localhost:8000/api/recentposts/ last_id=1650
或
http get localhost:8000/api/rece