Api Controller is now working properlly with friendly urls