Comments (3)
Ok, I found the trick to make it work: add dummy query string to the POST request URL. But this is an inefficient workaround, and does not match API doc.
https://jsfiddle.net/dn3nLywj/4/
from open-elevation.
Hi! Thank you for your report.
I have fixed CORS support for POST requests. Your fiddle was missing a JSON.stringify
, but the updated version here is now working correctly.
Sadly, at the moment, you are probably experiencing very high latency. The service is under heavy usage by several users and, since I pay for it out of my own pocket, I cannot currently afford to upgrade the hardware.
Cheers! Feel free to open another issue if you want.
from open-elevation.
Works great, thanks!
from open-elevation.
Related Issues (20)
- Public API is down HOT 1
- TLS certificate for `open-elevation.com` has expired HOT 1
- geojson format in the requests
- Issued certificate has expired. To connect to srtm.csi.cgiar.org insecurely, use `--no-check-certificate'.
- Public api does not work HOT 11
- Expired certificate
- replace the .sh scripts with py scriprts HOT 5
- Docker installation help HOT 3
- Elevation=0 HOT 1
- Public POST API not working HOT 1
- latitude, logitude reversed HOT 1
- SSL crt and key files
- Is the elevation value from mean sea level or from the ellipsoid or ?
- TLS certificate for open-elevation.com has expired
- Multiple Access-Control-Allow-Origin headers causing CORS error HOT 1
- Dead repository - Maintained fork available! HOT 4
- WKT
- Altitudes above 60 not working
- Extending API for LandXML input type
- Sonny's LiDAR Digital Terrain Models of Europe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-elevation.