mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Link to Apple site association docs
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Respond With JSON Regardless Of Content Type
|
||||
|
||||
Let's say you want to serve some JSON from an endpoint (for example, you might
|
||||
be serving the `apple-app-site-association` file for iOS Universal Links).
|
||||
be serving [the `apple-app-site-association` file for iOS Universal
|
||||
Links](https://developer.apple.com/documentation/xcode/supporting-associated-domains)).
|
||||
Regardless of whether the endpoint is requested as JSON (`application/json`),
|
||||
HTML (`text/html`), or something else (`plain/text`), you want to respond with
|
||||
JSON.
|
||||
|
||||
Reference in New Issue
Block a user