Results 1 to 2 of 2

Thread: Rest proxy filter url

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2014
    Location
    Graz
    Posts
    21

    Default Rest proxy filter url

    Hi,

    i'm just wondering if the url for filter (resource/?filter=[{"property": "field", "value": "value"}]) is following any standard on how it should be done? As most of the REST design patterns are suggesting this approach: resource/?field=value.

  2. #2
    Sencha User yeghikyan's Avatar
    Join Date
    Mar 2009
    Location
    München
    Posts
    574
    Answers
    99

    Default

    It is just the default encoding of the filters, you can change it by 'encodeFilters' config.
    http://docs.sencha.com/extjs/6.5.1/c...-encodeFilters
    "The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague." – Edsger W. Dijkstra

Similar Threads

  1. Replies: 3
    Last Post: 8 Jun 2016, 6:05 AM
  2. Why is it called REST proxy if it isn't really REST?
    By littlefyr in forum Ext: Discussion
    Replies: 5
    Last Post: 3 Jan 2016, 10:52 PM
  3. Custom Filter parameters on REST Proxy
    By jihaia in forum Ext 5: Q&A
    Replies: 2
    Last Post: 20 Mar 2015, 8:51 PM
  4. Replies: 2
    Last Post: 5 Sep 2012, 7:29 AM
  5. Remote List Filter: HTTP Proxy sending garbage value as a filter
    By prabhat2486 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 7 Aug 2012, 12:12 PM

Tags for this Thread

Posting Permissions

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