What should be the correct response from web service to display the Jquery token input results?

前端 未结 2 1196
误落风尘
误落风尘 2020-11-30 16:11

I am using a Jquery Token Input plugin. I have tried to fetch the data from the database instead of local data. My web service returns the json result is wrapped in xml:

2条回答
  •  天涯浪人
    2020-11-30 16:34

    You need to make sure that your request is a POST request. Not a get request. See this answer to find out more about why: How to let an ASMX file output JSON

提交回复
热议问题