I am sending this request to the service:
get_store_data = Typhoeus::Request.new("http://localhost:3000/api/v1/store?service=#{(proxy_ticket.service)}&ticket=#{proxy_ticket.ticket}")
proxy_ticket.serviceallows this line "http://localhost:3000/api/v1/store". When the request is sent, this line escapes to the following:
service=http%3A%2F%2Flocalhost%3A3000%2Fapi%2Fv1%2Fstore
The problem is that the service on the other end is expecting a service parameter, how "http://localhost:3000/api/v1/store", how can I prevent this query string?
source
share