Java tutorial
//package com.java2s; public class Main { public static String getNtripString(String ggaString, String mountPoint, String base64password) { StringBuilder result = new StringBuilder("GET /"); result.append(mountPoint); result.append( " HTTP/1.0\r\nUser-Agent: NTRIP goGPSprojectJava\r\nAccept: */*\r\nConnection: close\r\nAuthorization: Basic "); result.append(base64password); result.append("\r\n\r\n"); return result.toString(); } }