The signature is an encrypted hash of your request, all its explained here:
URL Authentication http://code.google.com/apis/maps/documentation/webservices/#URLSigning There is an example for illustration: URL: http://maps.google.com/maps/api/geocode/json?address=New+York&sensor=false&client=clientID Private Key: vNIXE0xscrmjlyV-12Nj_BvUPaw= URL Portion to Sign: /maps/api/geocode/json?address=New+York&sensor=false&client=clientID Signature: KrU1TzVQM7Ur0i8i7K3huiw3MsA= Full Signed URL: http://maps.google.com/maps/api/geocode/json?address=New+York&sensor=false&client=clientID&signature=KrU1TzVQM7Ur0i8i7K3huiw3MsA= If you follow the instructions in the link above, you see that the signature for /maps/api/geocode/json?address=New+York&sensor=false&client=clientID using crypto key vNIXE0xscrmjlyV-12Nj_BvUPaw= will be KrU1TzVQM7Ur0i8i7K3huiw3MsA= but if you change the request, then you need to generate a new signature. Your crypto key is always the same and you must keep it secret. For each request, you need to generate a different signature. Please see the above link for details on what this all means and how to make it work. Cheers, Miguel On Thu, Aug 12, 2010 at 11:28, sureshT suri <[email protected]>wrote: > I dont know what to write in signature..? > > What exactly we have to mention in signature..? > > Kindly help me out > > On Thu, Aug 12, 2010 at 2:11 AM, Miguel Angel Vilela <[email protected]>wrote: > >> >> If you use your client id without a signature, the request will be >> rejected and return HTTP 403 Forbidden, as explained here: >> >> Why am I receiving a HTTP 403 Forbidden response to my Maps API web >> service requests? >> >> http://code.google.com/apis/maps/documentation/premier/faq.html#signature_403 >> >> To sign your requests, you need the crypto key, which is a *secret* string >> that you receive with your Maps API Premier welcome letter, along with your >> client id (gme-xxxx). >> >> Please make sure not to ever share, expose or include in a request the >> crypto key itself. >> Instead, you need to generate a new digital signature for each request, >> following the instructions under the URL Authentication section I linked >> before. There are a couple of code samples there as well. >> >> On Thu, Aug 12, 2010 at 11:06, sureshT suri >> <[email protected]>wrote: >> >>> What is meant by signature in the URL ? >>> Is it called "Crypto Key" >>> >>> >>> >>> >>> On Thu, Aug 12, 2010 at 2:04 AM, sureshT suri < >>> [email protected]> wrote: >>> >>>> I have set the URL with the proper details whatever you mentioned >>>> earlier but still i am not getting any kind of results,inturn it is showing >>>> me "Web site declined to show the message" >>>> >>>> Please assist me >>>> >>>> >>>> On Thu, Aug 12, 2010 at 1:48 AM, Miguel Angel Vilela <[email protected] >>>> > wrote: >>>> >>>>> >>>>> There's a sample reverse geocoding request here: >>>>> >>>>> Reverse Geocoding (Address Lookup) >>>>> >>>>> http://code.google.com/apis/maps/documentation/geocoding/#ReverseGeocoding >>>>> >>>>> To use it with your client id, you need to add both the client and >>>>> signature parameters, following the instructions here: >>>>> >>>>> URL Authentication >>>>> http://code.google.com/apis/maps/documentation/webservices/#URLSigning >>>>> >>>>> Unless you are using the legacy V2 Geocoding API, in which case you >>>>> don't need to sign requests. >>>>> >>>>> On Thu, Aug 12, 2010 at 10:42, sureshT suri < >>>>> [email protected]> wrote: >>>>> >>>>>> thanks for the help, >>>>>> but i am little bit confused in handling this task can i have the >>>>>> sample URL for reverse geo codings >>>>>> >>>>>> >>>>>> On Thu, Aug 12, 2010 at 1:12 AM, Rossko >>>>>> <[email protected]>wrote: >>>>>> >>>>>>> > I haven taken the google api premier key,but i don't know how to >>>>>>> set >>>>>>> > the url for requesting the locations using the clientID >>>>>>> >>>>>>> See the documentation >>>>>>> >>>>>>> http://code.google.com/apis/maps/documentation/premier/guide.html#WebServices >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Google Maps API" group. >>>>>>> To post to this group, send email to >>>>>>> [email protected]. >>>>>>> To unsubscribe from this group, send email to >>>>>>> [email protected]<google-maps-api%[email protected]> >>>>>>> . >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/google-maps-api?hl=en. >>>>>>> >>>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Google Maps API" group. >>>>>> To post to this group, send email to [email protected] >>>>>> . >>>>>> To unsubscribe from this group, send email to >>>>>> [email protected]<google-maps-api%[email protected]> >>>>>> . >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/google-maps-api?hl=en. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Google Maps API" group. >>>>> To post to this group, send email to [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]<google-maps-api%[email protected]> >>>>> . >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/google-maps-api?hl=en. >>>>> >>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google Maps API" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<google-maps-api%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-maps-api?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Maps API" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-maps-api%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-maps-api?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
