1

Does anyone have any experience using cross-domain requests using Snap Framework. I'm new to using the framework and have found something for Yesod (Allowing cross-origin requests in Yesod) but I'm not sure how to do it for Snap. Any help would be appreciated.

Community
  • 1
  • 1
Ochowie
  • 543
  • 2
  • 6
  • 20

1 Answers1

3

You can set the appropriate headers using Snap's header manipulation functions.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
mightybyte
  • 7,282
  • 3
  • 23
  • 39