Hi there,
I make a promotion call via the artifactory rest api. For failing promitions
I want provide the user with details about the problem. That's why I want to
read the errorStream of the http response. Is there a way to receive the
errorMessage in a proper json format? After setting
conn.setRequestProperty("Accept", "application/json;")
I got the following error message:
The resource identified by this request is only capable of generating
responses with characteristics not acceptable according to the request
"accept" headers.
Any ideas how to get a valid, nice parseable errorStream?
cheers,
René
--
View this message in context:
http://forums.jfrog.org/proper-error-message-format-rest-api-call-tp7578967.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users