url = new URL("https://blb-test.morulabs.com/api/fetch/cosmetics/");
HttpsURLConnection connection = (HttpsURLConnection)url.openConnection();
connection.setRequestMethod("POST");
connection.setRequestProperty("Content-Type", "application/json");
connection.setRequestProperty("Authorization", token);
Is it correct to put the token value like that in the requestproperty for token authentication to communicate with the server? 400 Communication Error