Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83112

Consume REST Services with Digest Authentication

$
0
0
Hi, I am trying to connect to a REST API with Digest Authentication. I am trying to replicate a PUT request from using the following sample curl request - curl -v --digest --user *****:***** -H "Content-Type: application/xml" -X PUT -d 'JohnDoe'"http://localhost:8003/v1/documents?uri=/docs/person.xml"  I have implemented a dummy GET request to get the WWW-Authenticate response header value   I have tried to append the Username to this header and use it with a GET request immediately after that. But the response says unauthorized in all the combinations I've tried. Any pointers ?   Regards, Kshitij

Viewing all articles
Browse latest Browse all 83112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>