TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: AllOrigins – Pull content from any page as JSON via API

46 pointsby hezagover 9 years ago

5 comments

jerlucover 9 years ago
@OP: FYI I'm getting mixed content errors with the example fetch because the AllOrigins page itself is served over HTTPS, but the backend call is going to HTTP. May be a good idea to swap that out.
评论 #11112199 未加载
prohorover 9 years ago
Convenient. Can the sample endpoint (<a href="http:&#x2F;&#x2F;allorigins.pw&#x2F;get?url=" rel="nofollow">http:&#x2F;&#x2F;allorigins.pw&#x2F;get?url=</a>) be used by pages or do I need to deploy it myself?<p>How about CORS version instead of JSONP?
评论 #11112729 未加载
mistermannover 9 years ago
If I put the following in the &quot;Try it yourself!&quot; box:<p><a href="http:&#x2F;&#x2F;www.stockhouse.com&#x2F;companies&#x2F;bullboard&#x2F;t.y&#x2F;yellow-media-limited" rel="nofollow">http:&#x2F;&#x2F;www.stockhouse.com&#x2F;companies&#x2F;bullboard&#x2F;t.y&#x2F;yellow-med...</a><p>....should I be seeing anything in the &quot;Example json output&quot; box?
评论 #11112738 未加载
anilgulechaover 9 years ago
Interesting go-around to CORS.<p>There&#x27;s a reason browser&#x27;s have same-origin protections: to stop spammy behavior and protect against malintent by original or injected scripts.<p>This service will be fine for a bit, but once it&#x27;s used for the above purposes, it&#x27;ll end up in blocklists.
fiatjafover 9 years ago
Good to have that. CORS!