REST Client

I will buy a MKR 1010 for a project.
I look for a good REST Library.

My Issue: MKR1010_IP/analog/9/4000 (12Bit) for a analogWrite(9,4000).

What is the best solution?