adding cors things
api examples