shweta
October 16, 2017, 2:41pm
1
Hi
I am trying to create user from postman using
POST identity/users section 15.14.4
where i have deployed all the war files flowable-admin.war,flowable-idm.war,flowable-modeler.war,flowable-rest.war
on my local host (Tomcat version: apache-tomcat-8.0.12-windows-x64 )
when i hit URL:http://localhost:8080/identity/users
parameters:
{
“id”:“tijs”,
“firstName”:“Tijs”,
“lastName”:“Barrez”,
“email”:"no-reply@flowable.org ",
“password”:“pass123”
}
request type:post
i got :
HTTP Status 404 - /identity/users
type Status report
message
/identity/users
description
The requested resource is not available.
Apache Tomcat/8.0.12
Please share how do i call the identity services
Hello,
It seems your URL is incorrect.
If you use flowable-rest you need to use this endpoint: http://localhost:8080/flowable-rest/service/identity/users
Using curl we have something like
curl -X POST --header ‘Content-Type: application/json’ --header ‘Accept: application/json’ -d ‘{ \
“id”:“tijs”, \
“firstName”:“Tijs”, \
“lastName”:“Barrez”, \
“email”:“no-reply%40flowable.org ”, \
“password”:“pass123” \
}’ ‘http://localhost:8080/flowable-rest/service/identity/users ’
Do you know also it’s possible to test Flowable API by accessing : http://localhost:8080/flowable-rest/docs/
It’s an excellent tool to learn & test the API.
Hope it helps
shweta
October 17, 2017, 12:57pm
3
Thanks, I found your solution is working
sagaraa
September 28, 2018, 12:37pm
4
Hi Shweta,
How you did using POSTMAN, can you share the code, I am having error message Unauthorized. status 401.
Thanks