a guest Jun 17th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- String url="https://site/api/segments/segmentId/contact/contactId/add";
- URL serverUrl = new URL(url);
- HttpURLConnection urlConnection = (HttpURLConnection) serverUrl.openConnection();
- urlConnection.addRequestProperty("Authorization", getBathicAuthPayLoad());
RAW Paste Data