Hi,
We are using an identity provider called Okta. They have given me the code below as an example to create new user in their directory using the API call.
Does anyone know how I would be calling this within a process model? What is the smart service to use?
This is new to me so thanks in advance to anyone that replies.
curl -v -X POST \-H "Accept: application/json" \-H "Content-Type: application/json" \-H "Authorization: SSWS ${api_token}" \-d '{ "profile": { "firstName": "Isaac", "lastName": "Brock", "email": "isaac.brock@example.com", "login": "isaac.brock@example.com", "mobilePhone": "555-415-1337" } }' "https://{yourOktaDomain}.com/api/v1/users?activate=false"
Discussion posts and replies are publicly visible
Gary, since this just a HTTP POST request, use HTTP Query, passing POST as the Method input. The -d part of your curl command maps to the smart service's Request Body input.
-d
curl
Hello -- given this post is a number of years old many of these links no longer work. I have a similar task I'm attempting where I want to get the HTTP status of a URL after a GET.
How can this be accomplished using Appian Version 23.3
You call APIs in third party systems using integration objects.
docs.appian.com/.../Getting_Started_with_Connecting_Appian.html
configure this,
Authentication: api_keyHeader: Content-Type: application/jsonBody(json format):{ "profile": { "firstName": "Isaac", "lastName": "Brock", "email": "isaac.brock@example.com", "login": "isaac.brock@example.com", "mobilePhone": "555-415-1337" } }
Thanks! Is there a way to dynamically change the URL? Our use case is we have a list of URLs and we want to know if any of them give something other than a 200 HTTP response (that means the link is dead and we need to deactivate it).