Server returns a JSON object when it receives a POST.