0
当我做出了狂欢2.2.0 API的请求(Rabl的宝石版本0.8.4)以spree_api/Rabl的转义JSONP响应doubleqoutes
domain.com/api/products
我得到
{"count":25,"total_count":26,"current_page":1,"pages":2,"variants":[{"id":1,"name":"Ruby on Rails Tote","sku":"ROR-00011",... And so on
同样的事情JSONP回调像
domain.com/api/products?callback=test
给我
test(["{\"count\":25,\"total_count\":26,\"current_page\":1,\"pages\":2,\"variants\":[{... And so on
有谁有过之前奇怪逃逸行为?任何线索,如何得到一个非反应的答复?