File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,11 @@ jsonBody.put("key", "value");
101101
102102// Add Query parameters to the entry
103103entry. addParam(" locale" , " en-us" );
104- Response<ResponseBody > resp = entry. create(jsonBody). execute();
104+ Response<ResponseBody > response = entry. create(jsonBody). execute();
105105if (response. isSuccessful()){
106- System . out. println(response. body(); );
106+ System . out. println(response. body());
107107}else {
108- System . out. println(response. errorBody(); );
108+ System . out. println(response. errorBody());
109109}
110110```
111111
@@ -119,11 +119,11 @@ Asset asset = stack.asset();
119119
120120// Add Query parameters to the entry
121121asset. addParam(" title'" ," headeline" )
122- Response<ResponseBody > response = asset. uploadAsset(filePath, description). execute();
122+ Response<ResponseBody > response = asset. uploadAsset(" filePath" , " description" ). execute();
123123if (response. isSuccessful()){
124- System . out. println(response. body(); );
124+ System . out. println(response. body());
125125}else {
126- System . out. println(response. errorBody(); );
126+ System . out. println(response. errorBody());
127127}
128128```
129129
You can’t perform that action at this time.
0 commit comments