intridea/grape — Issue #129: http_basic not working
Author: kapso
Created: 2012-01-30 09:49:43+00:00
State: open

When I run the following ```GET /api/v1/users/1``` I dont see any response.

But the same code works if comment out the ```http_basic``` block. I am using the latest code from the master repo with Rails v3.2.1

```ruby
class Api::Test < Grape::API

prefix 'api'
version 'v1'

helpers Api::Helper

http_basic do |key, secret|
# validate api key/secret here
true
end

resource :users do

get ':id' do
User.find params[:id]
end

end

end
```