Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    REST with POST - ISSUES

    I am trying to POST the data but still its using GET I think and its not submitted as theere are more number of params, Please see the below. Thank you

    private DataSource DS;
    String url = "http://localhost/rest/save";
    DS.setDataProtocol(DSProtocol.POSTPARAMS);
    DS.setDataURL(url);
    DS.setParams(params); // all of my form variable values.
    DS.fetchData();

    #2
    Gurus, Any Help, Thanks

    Originally posted by contact77
    I am trying to POST the data but still its using GET I think and its not submitted as theere are more number of params, Please see the below. Thank you

    private DataSource DS;
    String url = "http://localhost/rest/save";
    DS.setDataProtocol(DSProtocol.POSTPARAMS);
    DS.setDataURL(url);
    DS.setParams(params); // all of my form variable values.
    DS.fetchData();

    Comment

    Working...
    X