Parse string to bytes: "0x28" to one byte

Hi, I need to save DS18B20 IDs to EEPROM. I need to send these ids over HTTP.
Webserver send me for example string like (I can change it) 0x28,0x94,0xE2,0xDF,0x02,0x00,0x00,0xFE. How can I parse it in Arduino?
I need byte id[] = {0x28,0x94,0xE2,0xDF,0x02,0x00,0x00,0xFE}.

Is there any Byte.parseByte("0xE2") like in Java?

Webserver send me for example string like

Is that a string? Or a String?

If it is a string, you can use strtok() to get the comma separated tokens, and then use strtoul() to convert the token to a numeric value. Then, store the numeric value in EEPROM.

Now I have on server this code:

<?php
header("HTTP/1.1 200 OK");
header("Content-type: text/plain");
header("Pragma: no-cache");
header("Expires: 0");
?>
ID;28,94,E2,DF,02,00,00,FE;28,6B,DF,DF,02,00,00,C0;28,59,BE,DF,02,00,00,9F