get https://www.cloud.wispro.co/api/v1/clients/
curl --request GET \
--url https://cloud.wispro.co/api/v1/clients/{uuid_client}
--header 'Accept: application/json' \
--header 'Authorization: api_token_isp'
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://www.cloud.wispro.co/api/v1/plans/382b4120-f124-4f33-8bad-0e6c767e88bc")
params = {
name_unaccent_cont: 'cristina',
created_at_after: '2019-11-08T08:00:11.919-05:00'
}
url.query = URI.encode_www_form(params)
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = 'application/json'
request["Authorization"] = '5367aa2c-c117-4447-a657-00ca13894275'
response = http.request(request)
puts response.read_body