void function ( Context arg0 , String arg1 , String arg2 , ApiListener arg3 ) { try { JSONObject loc0 = arg2 != null ? new JSONObject ( arg2 ) : null ; postRequest ( arg0 , arg1 , loc0 , arg3 ) ; } catch ( JSONException loc0 ) { arg3 . onApiError ( new LIApiError ( "srini_string" + loc0 . toString ( ) , loc0 ) ) ; } }
helper method to make authenticated http requests to linkedin rest api using post method concode_field_sep String HEADER_LI_FORMAT concode_elem_sep String HEADER_SRC_VALUE concode_elem_sep String HTTP_STATUS_CODE concode_elem_sep String TAG concode_elem_sep String HEADER_AUTHORIZATION concode_elem_sep String CONTENT_VALUE concode_elem_sep String HEADER_LI_VER concode_elem_sep String HEADER_LI_PLFM_ANDROID concode_elem_sep String HEADER_CONTENT_TYPE concode_elem_sep String HEADER_LI_FORMAT_VALUE concode_elem_sep String DATA concode_elem_sep String HEADER_LI_PLFM concode_elem_sep APIHelper apiHelper concode_elem_sep String HEADER_SRC concode_elem_sep String LOCATION_HEADER concode_field_sep void request concode_elem_sep JsonObjectRequest buildRequest concode_elem_sep Map<String,String> getLiHeaders concode_elem_sep void cancelCalls concode_elem_sep void getRequest concode_elem_sep void putRequest concode_elem_sep void putRequest concode_elem_sep APIHelper getInstance concode_elem_sep void deleteRequest