Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi rest and authentication



Permlink Replies: 1 - Last Post: Feb 3, 2016 6:01 AM Last Post By: Robert Triest Threads: [ Previous | Next ]
Liste Listeler

Posts: 49
Registered: 7/26/07
Delphi rest and authentication
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 3, 2016 4:52 AM
Hi
I hava web .net service . I can connect this web service from web browsers.
if I write service adres first web browser ask username and passworld than service is connect.
if I connect this web service wihth delphi. There is error message.
Error message is "401 Unauthorized"
I am useing
RESTResponse1
RESTRequest1
RESTClient1 and HTTPBasicAuthenticator 1.
HTTPBasicAuthenticator 1 has username and password and RestClient add Authenticator.
But I can not connect web service
How can I connect it?
Thanks
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi rest and authentication
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 3, 2016 6:01 AM   in response to: Liste Listeler in response to: Liste Listeler
Without info about the service and your code it's difficult to understand what might be wrong.
Did you read the RestClient doc about connection to different services?

http://docwiki.embarcadero.com/RADStudio/Seattle/en/REST_Client_Library
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02