使用Mashape Imgur API上传502 Bad Gateway

时间:2016-07-14 17:31:58

标签: jquery imgur mashape

我之前正在实施客户端图片上传。代码如下。目前我遇到了以下情况:

public class GlobalConfig {

    @SerializedName("rmhc_config")
    private RMHCConfigModel rmhc;

    public static GlobalConfig fromJson(String json) {
        return new Gson().fromJson(json, GlobalConfig.class);
    }

    public String toJson() {
        return new Gson().toJson(this);
    }

}

public class RMHCConfigModel {

    @SerializedName("show_donation")
    private boolean showDonation;

    @SerializedName("campaignEnabled")
    private boolean campaignEnabled;

}

你知道这可能导致什么吗?

https://imgur-apiv3.p.mashape.com/3/image.json Failed to load resource: the server responded with a status of 502 (Bad Gateway)

0 个答案:

没有答案