As title, the following is the code I have been working on, and it seems that it just keep popping up Response Code= 401 p.s this is working with doGet and myfunction.