Revision 5412
Added by berkley over 14 years ago
src/edu/ucsb/nceas/metacat/client/rest/MetacatRestClient.java | ||
---|---|---|
557 | 557 |
* @param postFileReader Reader of file to be posted |
558 | 558 |
* @param outputFile File name to be saved returning from API |
559 | 559 |
*/ |
560 |
private String sendData(String resource, String method, String urlParamaters,String postData, String contentType, |
|
560 |
private String sendData(String resource, String method, String urlParamaters, |
|
561 |
String postData, String contentType, |
|
561 | 562 |
Reader postFileReader, String outputFile) throws IOException { |
562 | 563 |
HttpURLConnection connection = null ; |
563 | 564 |
|
Also available in: Unified diff
formatting