is there any way to convert this Java code to FWH (getBytes method):
Code: Select all
*
*
*
protected static byte[] getTest(String httpMethod, String methodUri, String username, String password)
{
String str = httpMethod + "\n" + methodUri + "\n" + username + "\n" + password;
return str.getBytes(UTF8); /**return byte array**/
}