@@ -0,0 +1,1005 @@
+package de.fu_berlin.cdv.chasingpictures.api;%0A%0Aimport android.content.Context;%0A%0Aimport org.springframework.http.HttpEntity;%0Aimport org.springframework.http.HttpMethod;%0Aimport org.springframework.http.ResponseEntity;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Aimport de.fu_berlin.cdv.chasingpictures.R;%0A%0A/**%0A * @author Simon Kalt%0A */%0Apublic class PictureRequest extends ApiRequest%3CPictureApiResult%3E %7B%0A    private final Place place;%0A%0A    protected PictureRequest(Context context, Place place) %7B%0A        super(context, R.string.api_path_picture);%0A        this.place = place;%0A    %7D%0A%0A    @Override%0A    protected ResponseEntity%3CPictureApiResult%3E send() %7B%0A        Map%3CString, Integer%3E queryParameters = new HashMap%3C%3E(2);%0A        queryParameters.put(%22placeId%22, place.getId());%0A%0A        return restTemplate.exchange(%0A                apiUri,%0A                HttpMethod.GET,%0A                new HttpEntity%3C%3E(headers),%0A                PictureApiResult.class,%0A                queryParameters%0A        );%0A    %7D%0A%7D%0A

Add picture request