{"message":"Write Operation is not allowed","oicErrorCode":"IDAAS-20030"}
Hi all,
I try to use curl to create a new user refernce: Using the Mobile and Social REST API
and face to following issues:
1-
curl -H "Content-Type: application/json" --request POST http://OAM-Host:Port/idaas_rest/rest/userprofile/people/ -d '{"uid":"John","description":"test user","lastname":"Anderson","commonname":"John Anderson","firstname":"John"}'
--> Error 404
2-
curl -H "Content-Type: application/json" --request POST http://OAM-Host:Port/oic_rest/rest/userprofile/people/ -d '{"uid":"John","description":"test user","lastname":"Anderson","commonname":"John Anderson","firstname":"John"}'
Error:
{"message":"Write Operation is not allowed","oicErrorCode":"IDAAS-20030"}
How can I configure OAM, that Write Operation will be possible via curl and rest?