Closed chris1984 closed 1 year ago
@ShimShtein updated with your requested changes.
Finally working with the ephem api:
DEBUG -- : Response headers for request url https://ephem-tls.outsrights.cc/api/identity/certificate/registrations are: {:x_amzn_requestid=>"8fe61b81-c4f2-468b-b977-b3a0abb9e81a", :x_amzn_remapped_content_length=>"37", :set_cookie=>["d7bca3c18ed4c32d59cbf3a6abaf73d6=7bc9bdae17b2c1080c52a5bb024bfa88; path=/; HttpOnly; Secure; SameSite=None"], :x_amz_apigw_id=>"BeslRESHIAMFlbg=", :x_amzn_remapped_server=>"openresty", :x_content_type_options=>"nosniff", :x_amzn_remapped_date=>"Wed, 08 Mar 2023 20:48:08 GMT", :content_type=>"text/plain; charset=utf-8", :content_length=>"37", :date=>"Wed, 08 Mar 2023 20:48:07 GMT"}
Opening a new PR to clear the branch name as well.
@ShimShtein
Here is the rake task, I am waiting on getting a token to test with but did confirm with the Insights team that they are seeing the response correctly when I pass in a fake token(foo)
I added the suggestion you wanted with having the ability to override the URL.
Output showing it's connecting: