Maybe a dumb question, but is there a way to send HTTP requests directly from the rails console? Those that are POST / GET / PUT / DELETE? Not having done the first routing first?
You can use app.get and friends:
app.get
app.get app.auctions_path # 200 app.post app.auctions_path # 200
The app variable maps to ActionDispatch::Integration::Session , so all of its methods are available to you, including routes.
app
ActionDispatch::Integration::Session