I am a little bit futher...I think a must use COM_CreateObject. I will try that...but in the meantime suggestions are welcome ;-)
Hello everybody,
I discovered ThinBasic 3 days ago and I just love it!  :P
But I have a problem and I hope that some of you can solve it. I need to know how to send the "Accept-Encoding: gzip" header. Can I do this with an INET command or any other command? I really need this to acces the Discogs API http://www.discogs.com/help/api
Many thanks in advance for your help!
Martin
I am a little bit futher...I think a must use COM_CreateObject. I will try that...but in the meantime suggestions are welcome ;-)
Hi martin, welcome on the board.
I guess you have to wait for Eros as he knows things much much better when it comes to thinBasic and website communication.
Michael
Thanks, I hope he is back here soon because I still can't figure it out how this must done
Problem solved. I made a mistake in the request-url. It works fine now with INET.
Congratulations,
Eros is ill so he could not respond, and I do not understand this things.
So you did not have to use COM in the end?
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
No, that was not necessary.
If I understand correctly, INET sends an Accept-Encoding command automaticly by itself.
Bookmarks