@Override public T putAsPost(SocializeSession session, String endpoint, T object) throws SocializeException { endpoint = prepareEndpoint(session, endpoint); HttpUriRequest request = requestFactory.getPostRequest(session, endpoint, object); return doGetTypeRequest(request, ActionType.UNKNOWN); }
@Override public ListResult<T> post( SocializeSession session, String endpoint, Collection<T> objects, boolean isJSONResponse) throws SocializeException { endpoint = prepareEndpoint(session, endpoint); HttpUriRequest request = requestFactory.getPostRequest(session, endpoint, objects); return doListTypeRequest(request, ActionType.UNKNOWN); }