cancel
Showing results for 
Search instead for 
Did you mean: 

Using "content-type" or "Content-Type" header in API REST

Arnault_
Confirmed Champ
Confirmed Champ

Hi

(Nuxeo 6.0)

I observe that sometimes Nuxeo is happy with a "content-type" entry in the header and sometimes it is happy with "Content-Type"

Is there a clear rule ?

examples:

id//@op/Document.SetLifeCycle is fine with "Content-Type"

whereas

group/search?q= & currentPageIndex= &pageize=1000 is fine with "content-type"

Can you indicate the rule (or please select ONE policy)

Regards Christian

1 REPLY 1

Arnault_
Confirmed Champ
Confirmed Champ

Thanks for this helpful answer