Jump to content
Ole Ekerhovd

Rest request fails with error 406

Recommended Posts

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 by Ole Ekerhovd

Share this post


Link to post

Thanks Zoran, now it's working fine.

 

Had to set:

Accept as */*

Accept encoding as gzip,deflate

 

Regards

Ole

Edited by Ole Ekerhovd

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×