I have a CouchDB server and work with basic API requests. In general, this works well because users can use GET / POST / PUT, etc. For the host api.example.com. The only problem is that if the user executes a GET request for '/', he receives {"couchdb":"Welcome","version":"1.0.2"}.
In any case, to serve one static HTML page or even HTTP redirection for the root? That way, I could redirect users to the API documentation.
I am vaguely familiar with Couchapp , but for such a simple task it seems redundant.
Thank!
Nate source
share