Ole Ekerhovd 0 Posted November 3, 2019 (edited) Hi Delphi Tokyo. I try to make a Rest request using Delhpi Rest Debugger (a really simple one), but it fails with an error 406 Not acceptable. Basic authentication is used. When I make the exact same request using Postman there is no error and I get a valid response. Anybody with similar experiense? Regards Ole Edited November 3, 2019 by Ole Ekerhovd Share this post Link to post
Zoran Bonuš 12 Posted November 3, 2019 Double check the Accept and Accept-* headers of your request: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406 Share this post Link to post
Ole Ekerhovd 0 Posted November 3, 2019 (edited) Thanks Zoran, now it's working fine. Had to set: Accept as */* Accept encoding as gzip,deflate Regards Ole Edited November 3, 2019 by Ole Ekerhovd Share this post Link to post