If you use a transaction that uses an HTTP GET request, the Developer tool creates response ports in addition to the ports that contain the data that the transaction returns.
The Developer tool creates the following additional ports:
Response_200
The
Response_200
port is a struct that represents the asset. To view the nested elements in the struct, create a read or write operation.
responseCode
The
responseCode
port stores the HTTP status code that the request returns.
For example, the response code
200 (OK)
indicates that data was returned. You can pass the code to a Filter transformation that uses a filter condition such as
responseCode=200
to filter out data that is not available.
Similarly, the response code
401 (Unauthorized)
indicates that the client is not authorized to perform the transaction. You might use the response code to detect issues in a security configuration on the blockchain or in the blockchain connection properties.