This is a migrated thread and some comments may be shown as answers.

RESTAPI - Send HTTPS request

3 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ashish
Top achievements
Rank 1
Ashish asked on 13 Sep 2016, 03:11 PM

Hello, 

I am sending HTTPS request using REST, Web project which requires username and password. But unable to get the expected response. Below is the info.

Request: GET,

URL: https://abc.xyz.com/api/info/version

I am not sure where to enter or where is the field for Username and Password so, I selected 'Authorization' from Headers and entered value (Value is basic Base64). 

After sending request, I get attached response. 

I added the cert in my trusted root but no luck. 

Can you please help with it? What am I doing wrong or am I missing something?

Thanks, 

Ashish Thakkar

 

 

3 Answers, 1 is accepted

Sort by
0
Ashish
Top achievements
Rank 1
answered on 15 Sep 2016, 03:11 PM

Hi, 

Has someone came across to this problem? Or is anyone looking to this issue please reply. 

Thanks,

Ashish

0
Kiril Stanoev
Telerik team
answered on 16 Sep 2016, 11:03 AM
Hello Ashish,

Thank you for contacting us and sorry for the delayed reply. Everything seems to be ok the way you're adding the credentials. My assumption is there is something wrong with the self-signed certificate. Could you please share more details on the process of adding your certificate. I'd be glad to assist you further.

Regards,
Kiril Stanoev
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Ashish
Top achievements
Rank 1
answered on 16 Sep 2016, 02:41 PM

Hi Kiril,

I am able to successfully send HTTPS requests. Yes, there was a problem with my certificates. I added them you my Trusted cert list and it's working now.

Thanks for your help!!

Regards,

Ashish

Tags
General Discussions
Asked by
Ashish
Top achievements
Rank 1
Answers by
Ashish
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Share this question
or