cURL
curl --request GET \ --url https://app.octomind.dev/api/apiKey/v2/test-targets/{testTargetId}/test-cases/{testCaseId}/code \ --header 'X-API-Key: <api-key>'
{ "testCode": "<string>" }
Get the code representation of a specific test case
The ID of the test target
The ID of the test case
URL of the app to test
Optional ID of the environment to use
Test case code retrieved successfully
The response is of type object.
object