質問編集履歴
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
http.use_ssl = true
|
37
37
|
|
38
38
|
license_key = Base64.strict_encode64("serviceSecret:licenseKey")
|
39
|
-
auth_key =
|
39
|
+
auth_key = license_key.gsub(/(rn?|n)/,"")
|
40
40
|
|
41
41
|
req = Net::HTTP::Get.new(uri.path)
|
42
42
|
req["Authorization"] = "ESA " + auth_key
|