Error 404.15 on AjaxMethod.Request with JSon

  1. #1

    Error 404.15 on AjaxMethod.Request with JSon

    Hi,
    I have a problem with an AjaxRequest. I tryed to make a request to my webservice in JSon.
    As the parameters are added to URL (as for a get), it's blocked and I receive an error 404.15 (query too long).
    I would need to receive my result in JSon format and I don't know how to do.
    Is it possible to not have the params in the url with json?


    Here is my code :

    var queryTerms = '[ ...very long string : length 1700... ]';
    
    Coolite.AjaxMethod.request({
      url: 'DetailItemGet.svc',
      method: 'post',
      cleanRequest: true,
      json: true,
      params: {
        Id: 2,
        UserId: 4,
        queryTerms: queryTerms
      },
      success: function(result) {
        alert("success");
      },
      failure: function (errorMsg) {
        alert("error");
      }
    });
    Last edited by Spootnick; Jun 16, 2011 at 2:48 PM.
  2. #2
    Hi,

    It was a bug in 0.8 version,
    now it is fixed in 1.0 version

Similar Threads

  1. Non JSON ajax request
    By craig2005 in forum 1.x Help
    Replies: 0
    Last Post: Dec 31, 2010, 6:08 PM
  2. [1.0] - JSON Serialize DateTime Request
    By drkoh in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 26, 2010, 1:56 PM
  3. Replies: 10
    Last Post: Apr 30, 2010, 5:42 PM
  4. [0.8.2] Error Getting AjaxMethod Value
    By protactinium in forum 1.x Help
    Replies: 2
    Last Post: Jan 22, 2010, 12:23 AM
  5. [CLOSED] AjaxMethod Error = BADRESPONSE: Syntax error
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 05, 2008, 6:37 PM

Posting Permissions