xorpas 4 Posted October 30, 2021 (edited) hellow when try to send image to storage in firebase with tnethttpclient Using this code I get access denied How can Resolve It ms.LoadFromFile(op.FileName); link := 'https://firebasestorage.clients6.google.com/v0/b/chat-9641e.appspot.com/o?name=userProfiles/test.png?key=AIzaSyDptyDgZ9Zl-i06AI2cNJxSDky1mKs_fIo'; Memo1.Text := HTTP.post(link, ms).ContentAsString; when using api or token I have a same result { "error": { "code": 403, "message": "Permission denied." } } Edited October 30, 2021 by xorpas Share this post Link to post
mvanrijnen 123 Posted November 1, 2021 (edited) maybe post a little bit more code, how do you logon, keep credentials, do you need to hve cookies, or headers in the request? here's something you maybe can take a look at: Quick And Easy Way To Integrate Firebase Into Your Delphi Apps (embarcadero.com) Edited November 1, 2021 by mvanrijnen 1 Share this post Link to post