rest - Angularjs appended $resource paramDefaults with special charaters -


i have following code

        var resource = $resource('https://api.mongolab.com/api/1/databases/' + db_name + '/collections/' + collectionname + '/:id',                              { apikey:api_key, id:'@_id.$oid'},{update:{ method:'put' } }     ); 

when call

$scope.projects = project.query({q:"+"}); 

referencing

each key value in parameter object first bound url template if present , excess keys appended url search query after ?.

i append request string in {}. cannot include special charaters. feature , how can implement special characters?

i believe should urlencode values long sending them in url query


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -