How do you access owhttpd (:3001) from another (web)site using AJAX or
similar ?
It's about CORS obviously not suitable for older Mickeysoft-browsers and
owhttpd not JSONP (which could be added easily though..)
As I'm due to roll-out a new owfs anyway, I don't care about changes/new
versions here ;)

Michael

On 18.03.2014 17:51, Roberto Spadim wrote:
> i use text/
> and parse everything with javascript
> that's a single text
> 
> but you can use json/ too
> 
> 
> 2014-03-18 13:37 GMT-03:00 Michael Markstaller <m...@elabnet.de
> <mailto:m...@elabnet.de>>:
> 
>     Hi,
> 
>     did anybody already do something asking owhttp (JSON) from within
>     another Site (same host, another port - which Same-Origin-Policy
>     disallows)?
> 
>     The Basics are clear, CORS or JSONP, just don't want to re-invent the
>     wheel ;)
> 
>     Michael
> 
>     P.S.: I'm just changing some old stuff and want to avoid having another
>     Perl/CGI/.. in between to fetch with owget/OWNet values as asking
>     owhttpd directly using XMLHttpRequest makes much more sense and much
>     less overhead on small boxes IMHO.
> 


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to