How to setproxy by using api link

see how to call an api with the rpa software.