This is definitely not a valid URL,

/appdata/@owner/@friends/@app

is the right URL to get "the appdata for the owners friends for the app
defined in the associated security token"

On Thu, Aug 28, 2008 at 4:57 AM, Chris Chabot <[EMAIL PROTECTED]> wrote:

> While running the reference test suite I'm seeing a number of requests fail
> on URLs in the batch request like:
> /appdata/OWNER_FRIENDS/@self/@app
>
> Now you may color me silly, but i really would've expected something along
> the lines of:
> /appdata/@owner/@friends/@app
>
> I haven't had the time yet (I seem to have way to little of that these
> days) to diagnose if it's an invalid request from the test suite, or if it's
> the (legacy) rest-rpc code, but as far as i can tell, that shouldn't be able
> to happen :)
>
> Oh ps, it seems it's going wrong on the POST only, GET's work as intended
> (see batch blob below)
>
> Anyone have any ideas what could be causing that?
>
> Full batch request from the test suite (incase it helps to map it against
> the test #):
>
>
> {"k1Update":{"url":"/appdata/OWNER_FRIENDS/@self/@app?fields=PDRT008_K1","method":"POST","postData":
> {"PDRT008_K1":"personalValue
> 1219923727663"}},"k2Update":{"url":"/appdata/OWNER_FRIENDS/@self/@app?fields
> =PDRT008_K2","method":"POST","postData":{"PDRT008_K2":"personalValue
> 1219923727663"}},"per":{"url":"
> /appdata/@owner/@friends/@app?networkDistance=&","method":"GET"}}
>
>
>

Reply via email to