Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1

Calling external API from Squarespace


CarbonClick

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
On 8/27/2020 at 7:28 PM, IXStudio said:

Hi,
You can use JS code via Code Injection. So develop your script on JS language to run it there.

Please use the like button if it helps you!

Best,
Leopold

Leopold,

Can you point in the direction of some documentation on how to setup the initail link between my SQL server and squarespace? I have setup a postgres SQL server on the google cloud.

Thanks

Edited by Eldwelrick
typo
Link to post
  • 0

Yes, it is definitely possible.  However you may find that the limitations on what you can securely call from Squarespace present some major challenges. 

For example, if the API you are using to call some external data requires that you to keep the API key secure, that may not be possible.  For more on this subject, see the answer provided in this question about hiding API keys.  Basically, Squarespace is all front-end, so for non-approved API's, there is no access to the back end where you could securely stash an API key.  

If you want to call an API and the security of a key is not an issue, your goal can be achieved.  But there is essentially no documentation (definitely zero within official Squarespace docs for non-approved APIs) for reasons mentioned above.  

Does your key need to remain secure?

Edited by elderlyman
typo
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...