简体   繁体   中英

How can I escape a period/decimal inside URL Visual Studio Basic .NET VB

I am using an Amazon image URL that is this: http://ecx.images-amazon.com/images/I/61pztRZYCKL. SL1500 .jpg

Notice the added period inside the file name...

How can I escape/encode that so that I can use this image URL in another API?

I'm using Visual Basic and do not want to save the file, rename, and upload...

What do I do? Thanks.

You can use a UrlEncode method. A number of classes have such a method and which one you should use depends on the type of application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM