Jump to content

Vathson

Member
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Vathson's Achievements

  1. Hello @AlexD @paul2009 I had tried to connect as you told in my local system it is connecting but when i go to my website directory (ie: ljsmith/) my connection is closed in the terminal. Both Winscp and Terminal the connection is getting closed when go to the site path.
  2. The SFTP is not connecting even developer mode enabled. We are getting error as "Server sent command exit status 0". Screenshot attached.
  3. I'm creating a GET request from my square space site to Big commerce using ajax API call. But facing 401 unauthorized error. I've attached my code I'm using right now - hope someone can help me out of this problem. const username = "username"; const password = "password"; function make_base_auth(user, password) { var tok = user + ':' + password; var hash = btoa(tok); return "Basic " + hash; } $.ajax({ url: "https://api.bigcommerce.com/stores/{store-hash}/v3/catalog/products", async: true, crossDomain: true, beforeSend: function(xhr) { xhr.setRequestHeader('Authorization', make_base_auth(username, password)); }, headers: { "X-Auth-Client": "secret-key", "X-Auth-Token": "token", "Content-Type": "application/json", "cache-control": "no-cache", }, type: "GET", dataType: "jsonp", success: function(data) { console.log(data) } }); ..
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.