gothinkster / slim-php-realworld-example-app

Exemplary real world application built with Slim
https://realworld.io
427 stars 96 forks source link

Validator issue #14

Closed vitalijalbu closed 5 years ago

vitalijalbu commented 5 years ago

When trying to register or login, it shows me validation error:

https://drive.google.com/file/d/1s5VHPAstmfY5bYnoJiGLm_aYuhVo1D8N/view?usp=sharing

alhoqbani commented 5 years ago

I can’t open the link.

vitalijalbu commented 5 years ago

Just copy and paste😉👍

Il mer 13 feb 2019, 20:09 Hamoud notifications@github.com ha scritto:

I can’t open the link.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gothinkster/slim-php-realworld-example-app/issues/14#issuecomment-463327001, or mute the thread https://github.com/notifications/unsubscribe-auth/AmYDHm5eGVXstvymXSiIEuuUhrsWdGjAks5vNGMGgaJpZM4a5czK .

alhoqbani commented 5 years ago

Make sure to add request header: Content-Type: application/json

In Postman, change the body type from Text to Json, and it will add the header for you.