Open lethunder opened 8 years ago
ActiveRestClient::HTTPForbiddenClientException
is the exception raised if the server returns a 403 header.
Hello Andy, i'm sorry but i don't understand what you mean.
If you enable verbose mode, you'll see the entire request and response in the Rails log. You'll see there exactly what's going to the server (so you can compare it with the scribbled out request above) and see what the server is responding with. If the request is the same, you may need to contact the API server owners.
Hello, i had an issu with permissions. Everything is OK now
Hello, i'm trying to achived a simple get request but i have this error comming back ActiveRestClient::HTTPForbiddenClientException
this is my model class Equipment < ActiveRestClient::Base base_url Rails.application.config.api_server_url
get :find, "/cmitel/get_equipments" end
the request is sent to the backend and return json.
I'm surely doing something wrong. Need help. Thanks in advance