You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
Hi, I just signed up to test your product. In particular forward and reverse api.
I'm reading the documentation (https://positionstack.com/documentation), and issuing RUN API requests...but also writing my own code, I have the same problem.
At every test, I got this result....
{"error":{"code":"https_access_restricted","message":"Access Restricted - Your current Subscription Plan does not support HTTPS Encryption."}}
Dim o Set o = CreateObject("MSXML2.XMLHTTP.3.0") o.open "GET", "http://api.positionstack.com/v1/reverse?access_key=<MyAPI>&query=<lat,long>, False o.send MsgBox o.responseText
Do you have any tips or tricks to work with the browser (javascript) ?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Try using a different HTTP client library such as Axios or Fetch in your code instead of XMLHttpRequest. These libraries may have better support for HTTPS encryption and may work better with the Positionstack API.
If none of these work you might need to upgrade your subscription plan to one that supports HTTPS encryption.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I just signed up to test your product. In particular forward and reverse api.
I'm reading the documentation (https://positionstack.com/documentation), and issuing RUN API requests...but also writing my own code, I have the same problem.
At every test, I got this result....
{"error":{"code":"https_access_restricted","message":"Access Restricted - Your current Subscription Plan does not support HTTPS Encryption."}}
CODE:
BUT, with simple code in vbscript this works...
Dim o Set o = CreateObject("MSXML2.XMLHTTP.3.0") o.open "GET", "http://api.positionstack.com/v1/reverse?access_key=<MyAPI>&query=<lat,long>, False o.send MsgBox o.responseText
Do you have any tips or tricks to work with the browser (javascript) ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: