I am using through AngularJS to send some json, in the controller I have
AngularJS
respond_to :json def create respond_with Task.create(description:
You want your default format to be "json", not "js".
Rails has a list of formats that it is expecting (based on defaults plus you or gems can add additional known response types.) Js is not one of the defaults