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

Add access control allow headers to CORS option call response. #46

Merged
merged 1 commit into from
Feb 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cache/spec.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{"endpoints":[{"url":"/v1/ede/experiences","method":"GET","headers":[{"key":"Content-Type","value":"application/json"},{"key":"","value":""}],"response":{"content":"{\n \"payload\": {\n \"cid\": \"TCom\",\n \"pgid\": \"PDP\",\n \"experiences\": [\n {\n \"plid\": \"Horizontal2\",\n \"expMeta\": {\n \"type\": \"ProductComparison\",\n \"templateId\": \"default\"\n },\n \"expPayload\": {\n \"displayText\": \"Compare to Similar Products\",\n \"compAttributes\": [\n {\n \"name\": \"brandName\",\n \"dispName\": \"Brand\"\n },\n {\n \"name\": \"gender\",\n \"dispName\": \"Gender\"\n },\n {\n \"name\": \"ageAppropriation\",\n \"dispName\": \"Age Appropriation\"\n }\n ],\n \"seedProduct\": {\n \"id\": \"1791877\",\n \"links\": [\n {\n \"rel\": \"product\",\n \"uri\": \"v1/product/1791877\"\n }\n ],\n \"productTitle\": \"Boys 8-20 Unionbay Delridge Cargo Pants\",\n \"avgRating\": \"5.0\",\n \"ratingCount\": \"1\",\n \"image\": {\n \"url\": \"https://media.kohlsimg.com/is/image/kohls/1791877_Rye?wid=180&hei=180&op_sharpen=1\",\n \"height\": \"180\",\n \"width\": \"180\"\n },\n \"prices\": [\n {\n \"regularPrice\": {\n \"minPrice\": 44,\n \"maxPrice\": null\n },\n \"salePrice\": {\n \"minPrice\": 24.99,\n \"maxPrice\": null\n },\n \"displayBegDateTime\": \"2016/05/31 01:21:53 -0500\",\n \"purchaseBegDateTime\": \"2016/05/31 01:21:53 -0500\",\n \"displayEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"purchaseEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"regularPriceType\": \"Original\",\n \"promotion\": null,\n \"statusCode\": \"20\",\n \"priceCode\": \"Normal\",\n \"salePriceStatus\": \"sale\",\n \"isCurrentPrice\": true\n }\n ],\n \"attributes\": [\n {\n \"name\": \"brandName\",\n \"value\": \"Unionbay\"\n },\n {\n \"name\": \"gender\",\n \"value\": \"Male\"\n },\n {\n \"name\": \"ageAppropriation\",\n \"value\": \"Adult\"\n },\n {\n \"name\": \"departmentName\",\n \"value\": \"Clothing\"\n }\n ]\n },\n \"products\": [\n {\n \"id\": \"1791877\",\n \"rank\": \"1\",\n \"links\": [\n {\n \"rel\": \"product\",\n \"uri\": \"v1/product/1791877\"\n }\n ],\n \"productTitle\": \"Boys 8-20 Unionbay Delridge Cargo Pants\",\n \"avgRating\": \"5.0\",\n \"ratingCount\": \"1\",\n \"image\": {\n \"url\": \"https://media.kohlsimg.com/is/image/kohls/1791877_Rye?wid=180&hei=180&op_sharpen=1\",\n \"height\": \"180\",\n \"width\": \"180\"\n },\n \"prices\": [\n {\n \"regularPrice\": {\n \"minPrice\": 44,\n \"maxPrice\": null\n },\n \"salePrice\": {\n \"minPrice\": 24.99,\n \"maxPrice\": null\n },\n \"displayBegDateTime\": \"2016/05/31 01:21:53 -0500\",\n \"purchaseBegDateTime\": \"2016/05/31 01:21:53 -0500\",\n \"displayEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"purchaseEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"regularPriceType\": \"Original\",\n \"promotion\": null,\n \"statusCode\": \"20\",\n \"priceCode\": \"Normal\",\n \"salePriceStatus\": \"sale\",\n \"isCurrentPrice\": true\n }\n ],\n \"attributes\": [\n {\n \"name\": \"brandName\",\n \"value\": \"Unionbay\"\n },\n {\n \"name\": \"gender\",\n \"value\": \"Male\"\n },\n {\n \"name\": \"ageAppropriation\",\n \"value\": \"Adult\"\n },\n {\n \"name\": \"departmentName\",\n \"value\": \"Clothing\"\n }\n ]\n },\n {\n \"id\": \"2208640\",\n \"rank\": \"2\",\n \"links\": [\n {\n \"rel\": \"product\",\n \"uri\": \"v1/product/2208640\"\n }\n ],\n \"productTitle\": \"Boys 8-20 Urban Pipeline® Adjustable Waistband Twill Pants\",\n \"avgRating\": \"4.3\",\n \"ratingCount\": \"3\",\n \"image\": {\n \"url\": \"https://media.kohlsimg.com/is/image/kohls/2208640_Navy?wid=180&hei=180&op_sharpen=1\",\n \"height\": \"180\",\n \"width\": \"180\"\n },\n \"prices\": [\n {\n \"regularPrice\": {\n \"minPrice\": 32,\n \"maxPrice\": null\n },\n \"salePrice\": null,\n \"displayBegDateTime\": \"2016/05/31 01:01:55 -0500\",\n \"purchaseBegDateTime\": \"2016/05/31 01:01:55 -0500\",\n \"displayEndDateTime\": \"2016/06/06 00:14:59 -0500\",\n \"purchaseEndDateTime\": \"2016/06/06 00:14:59 -0500\",\n \"regularPriceType\": \"Original\",\n \"promotion\": null,\n \"statusCode\": \"20\",\n \"priceCode\": \"Normal\",\n \"salePriceStatus\": \"sale\",\n \"isCurrentPrice\": true\n }\n ],\n \"attributes\": [\n {\n \"name\": \"brandName\",\n \"value\": \"Urban Pipeline®\"\n },\n {\n \"name\": \"gender\",\n \"value\": \"Male\"\n },\n {\n \"name\": \"ageAppropriation\",\n \"value\": \"Adult\"\n },\n {\n \"name\": \"departmentName\",\n \"value\": \"Clothing\"\n }\n ]\n },\n {\n \"id\": \"1781069\",\n \"rank\": \"3\",\n \"links\": [\n {\n \"rel\": \"product\",\n \"uri\": \"v1/product/1781069\"\n }\n ],\n \"productTitle\": \"Boys 8-20 Urban Pipeline® Classic Relaxed Straight Jeans\",\n \"avgRating\": \"4.5\",\n \"ratingCount\": \"33\",\n \"image\": {\n \"url\": \"https://media.kohlsimg.com/is/image/kohls/1781069_Md_Tnt_Xht?wid=180&hei=180&op_sharpen=1\",\n \"height\": \"180\",\n \"width\": \"180\"\n },\n \"prices\": [\n {\n \"regularPrice\": {\n \"minPrice\": 32,\n \"maxPrice\": null\n },\n \"salePrice\": null,\n \"displayBegDateTime\": \"2016/05/31 01:54:16 -0500\",\n \"purchaseBegDateTime\": \"2016/05/31 01:54:16 -0500\",\n \"displayEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"purchaseEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"regularPriceType\": \"Original\",\n \"promotion\": null,\n \"statusCode\": \"20\",\n \"priceCode\": \"Normal\",\n \"salePriceStatus\": \"sale\",\n \"isCurrentPrice\": true\n }\n ],\n \"attributes\": [\n {\n \"name\": \"brandName\",\n \"value\": \"Urban Pipeline®\"\n },\n {\n \"name\": \"gender\",\n \"value\": \"Male\"\n },\n {\n \"name\": \"ageAppropriation\",\n \"value\": \"Adult\"\n },\n {\n \"name\": \"departmentName\",\n \"value\": \"Clothing\"\n }\n ]\n },\n {\n \"id\": \"2284195\",\n \"rank\": \"4\",\n \"links\": [\n {\n \"rel\": \"product\",\n \"uri\": \"v1/product/2284195\"\n }\n ],\n \"productTitle\": \"Boys 8-20 Chaps Twill Pants\",\n \"avgRating\": \"3.5\",\n \"ratingCount\": \"8\",\n \"image\": {\n \"url\": \"https://media.kohlsimg.com/is/image/kohls/2284195_Navy?wid=180&hei=180&op_sharpen=1\",\n \"height\": \"180\",\n \"width\": \"180\"\n },\n \"prices\": [\n {\n \"regularPrice\": {\n \"minPrice\": 34,\n \"maxPrice\": null\n },\n \"salePrice\": null,\n \"displayBegDateTime\": \"2016/05/31 01:39:02 -0500\",\n \"purchaseBegDateTime\": \"2016/05/31 01:39:02 -0500\",\n \"displayEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"purchaseEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"regularPriceType\": \"Original\",\n \"promotion\": null,\n \"statusCode\": \"20\",\n \"priceCode\": \"Normal\",\n \"salePriceStatus\": \"sale\",\n \"isCurrentPrice\": true\n }\n ],\n \"attributes\": [\n {\n \"name\": \"brandName\",\n \"value\": \"Chaps\"\n },\n {\n \"name\": \"gender\",\n \"value\": \"Male\"\n },\n {\n \"name\": \"ageAppropriation\",\n \"value\": \"Adult\"\n },\n {\n \"name\": \"departmentName\",\n \"value\": \"Clothing\"\n }\n ]\n },\n {\n \"id\": \"1392036\",\n \"rank\": \"5\",\n \"links\": [\n {\n \"rel\": \"product\",\n \"uri\": \"v1/product/1392036\"\n }\n ],\n \"productTitle\": \"Boys 8-20 adidas ClimaLite Field Pants\",\n \"avgRating\": \"4.6\",\n \"ratingCount\": \"19\",\n \"image\": {\n \"url\": \"https://media.kohlsimg.com/is/image/kohls/1392036_Navy?wid=180&hei=180&op_sharpen=1\",\n \"height\": \"180\",\n \"width\": \"180\"\n },\n \"prices\": [\n {\n \"regularPrice\": {\n \"minPrice\": 36,\n \"maxPrice\": null\n },\n \"salePrice\": {\n \"minPrice\": 24.99,\n \"maxPrice\": null\n },\n \"displayBegDateTime\": \"2016/05/31 02:01:24 -0500\",\n \"purchaseBegDateTime\": \"2016/05/31 02:01:24 -0500\",\n \"displayEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"purchaseEndDateTime\": \"2016/06/05 23:59:59 -0500\",\n \"regularPriceType\": \"Original\",\n \"promotion\": null,\n \"statusCode\": \"20\",\n \"priceCode\": \"Normal\",\n \"salePriceStatus\": \"sale\",\n \"isCurrentPrice\": true\n }\n ],\n \"attributes\": [\n {\n \"name\": \"brandName\",\n \"value\": \"adidas\"\n },\n {\n \"name\": \"gender\",\n \"value\": \"Male\"\n },\n {\n \"name\": \"ageAppropriation\",\n \"value\": \"Adult\"\n },\n {\n \"name\": \"departmentName\",\n \"value\": \"Clothing\"\n }\n ]\n }\n ]\n }\n }\n ]\n }\n}","contentType":{"type":"JSON","contentType":"application/json"},"responseCode":"200"},"type":"http"}],"socketEndpoints":[],"graphqlEndpoints":[],"jsonServerEndpoint":null,"proxyEndpoints":[]}
Binary file not shown.
Binary file added dist/25a32416abee198dd821b0b17a198a8f.eot
Binary file not shown.
Binary file removed dist/97493d3f11c0a3bd5cbd959f5d19b699.woff2
Binary file not shown.
Loading