response = RestClient.post 'http://localhost:3001/branches', forrest.to_json, :content_type => :json, :accept => :jsoncase responsewhen 200puts "success"when 201puts "created"elseputs "failed....."endrescue => eputs "showing the fail......"