package com.tzy.common.utils.http.forest;

import com.dtflys.forest.annotation.Body;
import com.dtflys.forest.annotation.Request;
import com.tzy.common.utils.http.forest.param.AppleParam;

public interface AppleForestClient {

    @Request(url = "${appleUrl}/keys")
    String getKey();

    @Request(url = "${appleUrl}/token",
            type = "POST",
            headers = {"Content-Type: application/x-www-form-urlencoded"})
    String getToken(@Body AppleParam appleParam);
}
