I have the below for loop which I use to append a number to the end of a URL String:
for(int i = 0; i < 5; i++){
PUT_URL = PUT_URL + i;
System.out.println(PUT_URL);
sendPUT();
System.out.println("PUT Done");
}
Currently the url appears in the format:
myurl1
myurl12
myurl123
myurl1234
myurl12345
What's the best way to amend this so the url appears as?
myurl1
myurl2
myurl3
myurl4
myurl5