HTTP API in latest local server

Hi friends. I want to turn on pin D3 with http api. What is the correct url in latest local server?
Thanks