开发者

follow of curl for java

开发者 https://www.devze.com 2022-12-24 23:29 出处:网络
i want how to follow 开发者_C百科the link... for example the link :http://example.com/hi.php this will redirect another page to http://example.com/vi.php

i want how to follow 开发者_C百科the link...

for example the link : http://example.com/hi.php

this will redirect another page to http://example.com/vi.php

then this will redirect another page to http://example.com/ji.html

so i need to get the page link "http://example.com/ji.html"

i think, i cant in java.. so have possible in java curl?

thanks advance


See

Apache Http Client 4.0 using parameter "http.protocol.handle-redirects"

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号