## GET /api/contact 200 curl -X GET localhost/api/contact -H 'content-type: application/json; charset=UTF-8' Odpowiedz: {"state": "200", "reason": "Validation Ok, your request added"} ## POST /api/contact 511 curl -X POST localhost/api/contact -H 'content-type: application/json; charset=UTF-8' -d '{"name":"Blog","email":"ilovespam@uchacz.it","answer":"5","msg":"ada to zaba"}' Odpowiedz: {"state":"511","reason":"bad answer"} ## POST /api/contact 200 curl -X POST localhost/api/contact -H 'content-type: application/json; charset=UTF-8' –d '{"name":"Blog","email":"ilovespam@uchacz.it","answer":"5","msg":"ada"}' Odpowiedz: {"state": "200", "reason": "Validation Ok, your request added"}