So, per the above comment this needs to return json or xml accordingly.