Results 1 to 2 of 2

Thread: HttpProxy cannot send information via POST method

  1. #1

    Default HttpProxy cannot send information via POST method

    Hi guys,
    I cannot get this code to send the request by POST. Instead, it keeps sending information by GET method. I have seen the resolution using API, however, it doesn't seemed to work for me. Please help.

    PHP Code:
    var guardDataStore = new Ext.data.Store(
                {
                    
    proxy: new Ext.data.HttpProxy(
                        {
                            
    url'guard_data.php',
                                                    
    method'POST'
                        
    }
                    ),
                    
    baseParams: {task"getData"},
                    
    reader: new Ext.data.JsonReader(
                        {
                            
    root'results',
                            
    totalProperty'total'
                        
    },
                            
    recordDef
                    
    )
                }
            ); 

  2. #2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •