passing the right context

working rest call to the google app engine api