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
有誰有過之前奇怪逃逸行爲?任何線索,如何得到一個非反應的答覆?