ProcessOne SiteCustomer Helpdesk and FeedbackFollow us on Twitter
 
   
 
REST Auhtorization
Posted: 25 December 2012 12:13 AM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2012-12-25

Hello,

I’m trying to use REST authorization for my domain, the documentation says The service should send a response with [...] one of following values: ‘true’ or ‘false’ on the body”, but I keep getting “Error checking service: bad JSON format”, I’m not sure what’s the expected format, the webservice is currently giving an answer with the following format:

{
“XXXXX”: “true”
}

can you please give me some lights about the format the JSON answer must have?

Thanks

Profile
 
 
Posted: 26 December 2012 02:53 PM   [ Ignore ]   [ # 1 ]
Member
Avatar
RankRankRank
Total Posts:  63
Joined  2010-06-29

Hello,

REST auth expects a response with following header:

{‘Content-type’: ‘application/json’}

and following body:

true/false

I think the confusion comes with the body not being a valid json object, against the content-type.

Profile