Create action handles Rails-formatted responses.