Typhoeus with cookies?
I'd comment but can't. It looks like you're getting a redirect. Try adding the followlocation: true
option:
request = Typhoeus::Request.new( url, followlocation: true, # <-- method: :post, params: params, body: body, cookiejar: cookie_file_path, #headers: {Accept: "text/html"}, verbose: true)