mcqueccu Expert Licensed User Longtime User Feb 15, 2022 #1 I am trying to access an API that has some header items starting with colon, and I wonder if someone has encountered it before, and how the person treated it. I tried both the colon and without the colon and I get Access denied, I want to be sure of the best way to send this header. Thank you B4X: Copy ok.GetRequest.SetHeader(":authority","") ok.GetRequest.SetHeader(":method","") ok.GetRequest.SetHeader(":path","") ok.GetRequest.SetHeader(":scheme","")
I am trying to access an API that has some header items starting with colon, and I wonder if someone has encountered it before, and how the person treated it. I tried both the colon and without the colon and I get Access denied, I want to be sure of the best way to send this header. Thank you B4X: Copy ok.GetRequest.SetHeader(":authority","") ok.GetRequest.SetHeader(":method","") ok.GetRequest.SetHeader(":path","") ok.GetRequest.SetHeader(":scheme","")
Solution Erel Feb 15, 2022 You have seen these headers in chrome development tools, right? I don't think that you are expected to add them. The problem is probably somewhere else.
You have seen these headers in chrome development tools, right? I don't think that you are expected to add them. The problem is probably somewhere else.
Erel B4X founder Staff member Licensed User Longtime User Feb 15, 2022 #2 You have seen these headers in chrome development tools, right? I don't think that you are expected to add them. The problem is probably somewhere else. Upvote 0 Solution
You have seen these headers in chrome development tools, right? I don't think that you are expected to add them. The problem is probably somewhere else.
mcqueccu Expert Licensed User Longtime User Feb 15, 2022 #3 Yes, I inspected them from chrome, and you are right. And it's solved now. Instead of download with all the parameters in the link, I changed to download2 and it works. Upvote 0
Yes, I inspected them from chrome, and you are right. And it's solved now. Instead of download with all the parameters in the link, I changed to download2 and it works.