Fixing the photo upload endpoint
Sample request pointing to local host
CORS have to be defined per request if we want to leave one resource out of the list