|
@@ -121,11 +121,11 @@ module Ebaytr
|
|
|
end
|
|
|
|
|
|
def self.finding(request_name,hash = {})
|
|
|
- api_url = "http://svcs.ebay.com/services/search/FindingService/v1"
|
|
|
+ api_url = "https://svcs.ebay.com/services/search/FindingService/v1"
|
|
|
|
|
|
url = URI.parse(api_url)
|
|
|
https = Net::HTTP.new(url.host,url.port)
|
|
|
- # https.use_ssl = true
|
|
|
+ https.use_ssl = true
|
|
|
req = Net::HTTP::Post.new(url.path)
|
|
|
req.add_field("X-EBAY-SOA-SECURITY-APPNAME", @@app_name)
|
|
|
req.add_field("X-EBAY-SOA-OPERATION-NAME", request_name)
|