Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOJ-111: Add X-Api-Key header for CORS. #100

Merged
merged 1 commit into from
Nov 1, 2017
Merged

DOJ-111: Add X-Api-Key header for CORS. #100

merged 1 commit into from
Nov 1, 2017

Conversation

adborden
Copy link
Contributor

api.data.gov has a bug where the pre-flight CORS request is denied (403
Forbidden), so the work around is to pass it through to the back end and have
the back end return the proper Access-Control headers.

NREL/api-umbrella#391

api.data.gov has a bug where the pre-flight CORS request is denied (403
Forbidden), so the work around is to pass it through to the back end and have
the back end return the proper Access-Control headers.
@adborden
Copy link
Contributor Author

This is needed to setup api.data.gov usdoj/foia.gov#111

@adborden
Copy link
Contributor Author

BTW, I left out the other yml file because it seems like the previous changes to it were removed, so I figured we don't want it to match docroot/sites/default/services.yml, let me know if I need to update it.

@malikkotob malikkotob merged commit 6629285 into develop Nov 1, 2017
@adborden adborden deleted the adb-cors branch November 2, 2017 17:27
brockfanning pushed a commit to brockfanning/foia-api that referenced this pull request Sep 26, 2019
* FOIA-30: Add jQuery validation library to FOIA UI module.

* FOIA-30: Add sample client-side validation rules for annual data report.

* FOIA-30: Add sticky sidebar validation error messages.

* FOIA-30: Update and implement aggregate validation warning.

* FOIA-30: Add validation rule, messages and human-friendly comments.

* FOIA-30: Change aggregate Annual Report validation message to popup.

* FOIA-30: Add PoC validation error highlighting for vertical tabs.

* FOIA-30: Style and refactor highlighted vertical tabs error validation.

* FOIA-30: Refactor and handle unhighlighting of vertical tabs validation.

* FOIA-30: Add lessThanequalsSum method and example to report validation.

* FOIA-30: Revise vertical tab validation highlighting for multiple fields.

* FOIA-30: Document jQuery validation sections and revise popup message.

* FOIA-30: Lighten selected vertical tabs with validation highlighting.

* FOIA-30: Handle validation highlighting on non-nested vertical tabs.

* FOIA-30: Add V.B.(1) overall_vb1_oth validation.

* FOIA-30: Add VI.A. overall_via_app_processed_yr validation.

* FOIA-30: Consolidate validation rules and messages.

* FOIA-30: Add comments to clarify sections in clientside validation.

* FOIA-30: Consolidate validation rules and messages.

* FOIA-30: Add jQuery Validation library to composer.json via npm-asset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants