Skip to content

Instantly share code, notes, and snippets.

View wow-developer's full-sized avatar

wow-developer

View GitHub Profile
public interface ServerService {
static final String REQUEST_SIGNATURE_HEADER = "X-Request-Signature";
static final String CPU_ARCH_HEADER = "X-CPU-Arch";
@POST("{project}/rest/public/sync/configuration/{number}")
Call<ResponseBody> enrollAndGetServerConfigRaw(@Path("project") String project,
@Path("number") String number,
@Header(REQUEST_SIGNATURE_HEADER) String signature,
@Header(CPU_ARCH_HEADER) String cpuArch,