gothinkster / realworld

"The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
https://www.realworld.how/
MIT License
80.37k stars 7.31k forks source link

Postman Collection Not Working without Token #133

Closed jazib-bashir closed 7 years ago

jazib-bashir commented 7 years ago

Hi I'm working with laravel-realworld-example-app and i have successfully setup application in my linux mint 18 development environment now i'm testing my API call using postman but unable to register a new user. Test fails with error message: There was an error during JSON.parse(): Unexpected token N in JSON at position 0 and postman return Not allowed. message

postman-body postman-enviroment postman-full

Kindly Guide me how i fix this issue!

Thanks!

jazib-bashir commented 7 years ago

Issue fixed using * at CORS Setting in Laravel

Cameron-C-Chapman commented 7 years ago

Glad to hear you got it working @jazib-bashir!