AnsweredAssumed Answered  Error(version 5.13)

Question asked by frankpeng on Jul 22, 2013
Latest reply on Feb 28, 2015 by jbarrez
In my login.html file, I want to post a request to  '' through jquery ajax to login, but the return message is:
{"readyState":4,"responseJSON":{"code":405,"msg":"The method specified in the request is not allowed for the resource identified by the request URI"},"status":200,"statusText":"load"}

Please help me.

the following is my codes:
      type: 'post',
      url: '',
      dataType: 'jsonp',
      data: {'userId':'kermit','password':'kermit'},
      contentType: 'application/json',
      cache: false,
      complete: function(xhr,ts) {
      success: function(xhr,ts) {