The browser will automatically set the referer header to the url from which
the request is triggered when you're using the API in a Javascript/browser
environment.

jg

On Sun, May 27, 2012 at 10:44 AM, Sylvia <spinne...@googlemail.com> wrote:

> Hi all,
>
> I'm new to the google api's and I'm a bit confused.
>
> In the develops guide to the feeds api it says "all request need a valid
> http referer".
>
> I'm not sure how to do this - the referer might not be set if a user typed
> the url his browser or if he uses a bookmark. Or if the user changed his
> browser settings the referer might never be sent.
>
> I'd only be using the api in a javascript environment. As far as I know I
> can't set the referer to a default value using only javascript.
>
> Would this be a problem?
>
> Is there a way to set a default value to the referer (like the url of my
> website)? Or do I have to use serverside scripts (like php)?
>
> Thank you for any tipps on this.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> google-ajax-search-api@googlegroups.com
> To unsubscribe from this group, send email to
> google-ajax-search-api+unsubscr...@googlegroups.com
> To view this message on the web, visit
> https://groups.google.com/d/msg/google-ajax-search-api/-/OQM-YN1XS0IJ
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
>



-- 
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
Church!
http://www.debraheightswesleyan.org

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax-search-api@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-search-api+unsubscr...@googlegroups.com
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to