close
注意jQuery內傳的參數名稱和WebService的參數名稱要一致!
The Other Reason
- Not using JSON.stringify to pass parameter value.
- If you not supply type in jQuery, it will use GET method which is not accept in your webservice configuration. Add ( type : "POST ) in your jQuery code to use POST method.
- You are actually request data from different domain. Cross Domain Request (CORS)which is not allowed. Please read here
- Content type not supply or not correct. Use "application/json; charset=utf-8"
- DataType not not supply or not correct. Use json or jsonp
http://www.developersnote.com/2014/01/solved-jquery-ajax-500-internal-server.html#.VadEBKSqpBc
全站熱搜