我的网址
String BASE_URL = "http://74.207.233.160/api/v1/";
这17是我要手动传递的 id
我的界面是
public interface MyCandidateApi {
@GET("{user_id}")
Call<MyJobs> matchingcandidates(
@Path(value = "user_id", encoded = true) String user_id,
@Header("Authorization") String token
);
}
我user_id作为
Integer id = 17;
String user_id = "candidates?job="+id;
但是当我运行它时,网址以这种格式显示“ http://74.207.233.160/api/v1/candidates%3Fjob=17 ”
你能帮我解决吗
largeQ
素胚勾勒不出你
相关分类