# CORS

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/chainstate":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/chainstate/{height}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"height","in":"path","description":"Height of the blockchain data to receive.","required":true,"schema":{"type":"integer","format":"int64","minimum":0}}],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/deposit":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/deposit/recipient/{recipient}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"recipient","in":"path","description":"the recipient to search by when getting all deposits.","required":true,"schema":{"type":"string"}}],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/deposit/reclaim-pubkeys/{reclaimPubkeys}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"reclaimPubkeys","in":"path","description":"The dash-separated list of hex-encoded x-only pubkeys used to generate the reclaim_script.","required":true,"schema":{"type":"string"}}],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/deposit/{txid}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"txid","in":"path","description":"txid associated with the Deposit.","required":true,"schema":{"type":"string"}}],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/deposit/{txid}/{index}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"txid","in":"path","description":"txid associated with the Deposit.","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"output index associated with the Deposit.","required":true,"schema":{"type":"string"}}],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/health":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/limits":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/limits/{account}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"account","in":"path","description":"The account for which to get the limits.","required":true,"schema":{"type":"string"}}],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/start_throttle":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/withdrawal":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/withdrawal/recipient/{recipient}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"recipient","in":"path","description":"The recipient's hex-encoded scriptPubKey, used to filter withdrawals.","required":true,"schema":{"type":"string"}}],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/withdrawal/sender/{sender}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"sender","in":"path","description":"The sender's Stacks principal, used to filter withdrawals.","required":true,"schema":{"type":"string"}}],"responses":{}}}}}
```

## CORS support

> Handles CORS preflight requests

```json
{"openapi":"3.0.3","info":{"title":"emily-openapi-spec","version":"0.1.0"},"servers":[{"url":"http://localhost:3031","description":"Local Emily server"},{"url":"https://sbtc-emily.com","description":"Production Emily server"},{"url":"https://temp.sbtc-emily-dev.com","description":"Testnet Emily server"}],"paths":{"/withdrawal/{id}":{"options":{"tags":["CORS"],"summary":"CORS support","description":"Handles CORS preflight requests","parameters":[{"name":"id","in":"path","description":"id associated with the Withdrawal","required":true,"schema":{"type":"integer","format":"int64","minimum":0}}],"responses":{}}}}}
```
