Hello,
I apologise if this has been mentioned before, although I was unable to find a solution when I searched through previous posts or the API docs.
I have been attempting to construct some simple queries from a JavaScript application. The application is running on a localhost at the domain http://localhost’. I.e. the ‘Origin’ specified in the request header is ‘http://localhost’.
However, I am unable to enable access by adding ‘http://localhost’, or ‘localhost’ (or any other permutation) as an authorized JavaScript domain. A message appears saying that this is an ‘invalid domain’. Am I missing something here?
How do I enable access for an application on a localhost?
It would be good if the API docs clarified this, assuming this isn’t a stupid question!
Thanks in advance.