HA!  It looks like the issue with "curl" not going through was that I used
the suggested by SwaggerUI line, and it contained 2 errors:

1. (This one I fixed initially, so adding it here for completeness.)  The
"@class" attribute is shown there HTML-escaped as "%40class", which when
sent via curl produces "required attribute @class has not been set" kind of
message.

2. The "Accept" header is set by the Swagger UI curl line to "text/html"
where it should have been set to "application/json."  

This last change indeed did the trick for me, thanks to the old syncope WIKI
link I found
(https://cwiki.apache.org/confluence/display/SYNCOPE/Call+REST+services+from+CLI.)

--
View this message in context: 
http://syncope-user.1051894.n5.nabble.com/Self-Registration-help-tp5709077p5709080.html
Sent from the syncope-user mailing list archive at Nabble.com.

Reply via email to