REST API

Plum's Avatar

Plum

27 Jul, 2016 07:42 AM

Sinatra doesn’t know this ditty.
Try this:

in server.rb

class Arachni::Rest::Server
get '/' do "Hello World" end end

When I try to start REST API server, it keeps throwing me that error.
I have already look up server.rb file but there are too many of them. I wonder if I may misconfigure something.

  1. Support Staff 1 Posted by Tasos Laskos on 27 Jul, 2016 07:48 AM

    Tasos Laskos's Avatar

    There is no handler for the / path, please consult the API documentation: https://github.com/Arachni/arachni/wiki/REST-API

  2. Tasos Laskos closed this discussion on 27 Jul, 2016 07:48 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac