How to extract a parameter of response 201 after the POST API?

Hi,

When I do an API POST, I need to retrieve a single piece of information from the response 201 and store it in the database.

Allow me to clarify.

In my workflow,

  1. I store informations in the database manually
  2. I send all the data stored in the database as a POST API
  3. The POST API operation is complete and successful (201 code).

How can I use the API response (201 code) to retrieve the only information I need and store it in the same database?

I want to do this on a single workflow line.

In a way, I’m creating a profile manually (name, etc.) and I need to retrieve its unique id-identifier, automatically generated on the server side and save it in the same database for all information (name, id, etc.).

Matthieu

I found the solution… I had to spend hours yesterday and write to you, for the solution to arrive xD

You have to do as described here: