hi, can you show how it’d look in LotusScript?
this is my code, the value returned was not expected:
Dim session As New NotesSession
Set webRequest = session.CreateHTTPRequest()
Call webRequest.SetHeaderField("X-RapidAPI-Key", "MYKEY")
Call webRequest.SetHeaderField("X-RapidAPI-Host", "u-s-a-sales-taxes-per-zip-code.p.rapidapi.com")
webURL = "https://u-s-a-sales-taxes-per-zip-code.p.rapidapi.com/ZIPCODE"
ret = webRequest.Get(webURL)
headers = webRequest.GetResponseHeaders()
thanks in advance.
加入讨论 - 在下面添加评论:
I have not worked with LotusScript, but, I would think: this is a good example: https://www.proudprogrammer.no/web/ppblog.nsf/d6plinks/GANI-AS4MJ8
Hi, looking at it right now. I’ll get back to you.