TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

46 点作者 hezag超过 9 年前

5 条评论

jerluc超过 9 年前
@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 未加载
prohor超过 9 年前
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 未加载
mistermann超过 9 年前
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 未加载
anilgulecha超过 9 年前
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.
fiatjaf超过 9 年前
Good to have that. CORS!