Skip to content

Commit

Permalink
Remove unreachable getting started page (#140)
Browse files Browse the repository at this point in the history
The getting started page wasn't linked from anywhere. I moved the few
things I found useful to the provide-an-endpoint page.
  • Loading branch information
rnestler authored Dec 29, 2024
1 parent 12a5920 commit 8d46b0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 57 deletions.
55 changes: 0 additions & 55 deletions content/getting-started/contents.lr

This file was deleted.

13 changes: 11 additions & 2 deletions content/provide-an-endpoint/contents.lr
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,17 @@ The [SpaceAPI validator](/validator) validates URLs or files. Please note that i

### HTTP and CORS

Your server should be reachable via HTTPS to prevent websites having problems with [mixed content warnings](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content).
You should also provide [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) and [Content-type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) headers so that JavaScript based web applications can query your endpoint directly.
Your server should
* Be reachable via HTTPS to prevent websites having problems
with [mixed content
warnings](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content).

* Set the `Access-Control-Allow-Origin`
[CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) header to `*`
* Set the
[`Content-Type`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
to `application/json; charset=utf-8` so that JavaScript based web
applications can query your endpoint directly.

### Stuff you can use

Expand Down

0 comments on commit 8d46b0b

Please sign in to comment.