Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Query in URL
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
gar  
View profile  
 More options Mar 24 2012, 6:57 pm
From: gar <garla...@gmail.com>
Date: Sat, 24 Mar 2012 15:57:38 -0700 (PDT)
Local: Sat, Mar 24 2012 6:57 pm
Subject: Query in URL
Trying to query a collection via the url but it didnt work.  Wanted to
use the "ql" variable to query a field.

http://api.usergrid.com/11a1d67e-75fd-11e1-8b9e-1231381a0091/test1s?c...<client
id>&client_secret=<client secret>&ql=user_id%3D12345


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gar  
View profile  
 More options Mar 24 2012, 7:12 pm
From: gar <garla...@gmail.com>
Date: Sat, 24 Mar 2012 16:12:37 -0700 (PDT)
Local: Sat, Mar 24 2012 7:12 pm
Subject: Re: Query in URL
Figured it out.  You have to encode the = and the single quote around
the queried sting

ql=user_uid%3D%2712345%27

On Mar 24, 3:57 pm, gar <garla...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nate McCall  
View profile  
 More options Mar 26 2012, 11:02 am
From: Nate McCall <nmcc...@apigee.com>
Date: Mon, 26 Mar 2012 10:02:15 -0500
Local: Mon, Mar 26 2012 11:02 am
Subject: Re: [usergrid] Re: Query in URL
Thanks for the update. If it helps, I use this two-liner in small
python script when I want to construct escaped parameters
(particularly helpful for the 'ql' queries):
>>> import urllib;
>>> urllib.quote("user_uid='12345'")

'user_uid%3D%2712345%27'


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Garland Kan  
View profile  
 More options Mar 26 2012, 2:52 pm
From: Garland Kan <garla...@gmail.com>
Date: Mon, 26 Mar 2012 11:52:25 -0700
Local: Mon, Mar 26 2012 2:52 pm
Subject: Re: [usergrid] Re: Query in URL

Thanks Nate.  That does help.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »