sending 200 status code on get to /yarns
handling for error in post to /yarns
enabled cors
Merge pull request #4 from paulyi326/dev

enabled CORS