Results 1 to 2 of 2

Thread: REST proxy URL: path instead of parameters

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    69
    Answers
    1

    Default REST proxy URL: path instead of parameters

    Hi, I'm using REST services that address resources using URL path:
    Code:
    http://server/api/object/{object_class}/{object_id}
    rather than parameters

    Code:
    http://server/api/object/?{objectID=aaa}&{objectCls=123}
    Is there any standard / recommended way of defining such URL building rules?
    I'm not sure yet, but maybe I would like to combine that with base "API" CRUD url's that can be different based on operation performed (as extension to post/get/put methods)

  2. #2
    Sencha User
    Join Date
    Aug 2011
    Posts
    69
    Answers
    1

    Default

    ok, sorry for an "ignorant" post - it was to much work today I guess
    I have found information in Ext.data.Proxy.Rest api docs, on how to generate custom URL's, that in my case contain several "components" more than ID only.

Posting Permissions

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