Read values from webpage to control relay (Ethernet Shield)

thanks for the reply

The below code refreshes the current page and doesn't have te 204 code included.

which part would be the 204 code, that I have to eliminate ?