Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix url encoding of OAuth signature for APIv2 JS examples

  • Loading branch information...
commit 63966b4132d8a51aca0a1df51a7e8fc927b8d907 1 parent 1d729e8
@gchin gchin authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  v2/js/business.html
  2. +1 −0  v2/js/search.html
View
1  v2/js/business.html
@@ -49,6 +49,7 @@
OAuth.SignatureMethod.sign(message, accessor);
var parameterMap = OAuth.getParameterMap(message.parameters);
+parameterMap.oauth_signature = OAuth.percentEncode(parameterMap.oauth_signature)
console.log(parameterMap);
$.ajax({
View
1  v2/js/search.html
@@ -54,6 +54,7 @@
OAuth.SignatureMethod.sign(message, accessor);
var parameterMap = OAuth.getParameterMap(message.parameters);
+parameterMap.oauth_signature = OAuth.percentEncode(parameterMap.oauth_signature)
console.log(parameterMap);
$.ajax({
Please sign in to comment.
Something went wrong with that request. Please try again.