Java tutorial
//package com.java2s; public class Main { final public static String KILLERBONE_FULL_URL = "https://yourName.com/"; public static String putFriendshipAcceptRequestUrl(long friendshipId, long userId) { return KILLERBONE_FULL_URL + "friendship/" + String.valueOf(friendshipId) + "/accept/" + String.valueOf(userId); } }