vue-resource icon indicating copy to clipboard operation
vue-resource copied to clipboard

something wrong when i send query data

Open qwejdl2378 opened this issue 8 years ago • 5 comments
trafficstars

when set emulateJSON as ture , the query data(some chinese character) i POST to back end (Java Struts)always can't display right . how can i set request header content-type "application/x-www-form-urlencoded;charset=utf-8" as default when emulateJSON was true

sorry for my poor english

qwejdl2378 avatar Jan 03 '17 03:01 qwejdl2378

Hi. I've got same problem. I'm using Vuejs + vue-resource with Symfony 3. Did you already solved this problem ? Dusan.

ducho avatar Jan 27 '17 05:01 ducho

no,still wrong. i used jquery ajax instead .

qwejdl2378 avatar Feb 13 '17 07:02 qwejdl2378

I have the same problem.

alaj avatar Feb 21 '17 14:02 alaj

emulateJSON=true does not work for IE9 when using post method, anyone knows why?

JasonGaoG avatar Mar 06 '17 11:03 JasonGaoG

simply i would say lib just sucks and the best way is to user XMLHttp :)

HelloMyDevWorld avatar Nov 10 '17 19:11 HelloMyDevWorld