I have run the sample code:
require 'bigcommerce'
api = BigCommerce::Api.new({
:store_url => "https://www.mybigcommercestoreurl.com",
:username => "admin",
:api_key => "myapikey"
})
which returns #<Bigcommerce...... ...>
but then this command
returns this:
Net::HTTPBadResponse: wrong status line: "<!DOCTYPYE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">"
Could anyone assist?