suspend fun submitSoftware()

in src/main/kotlin/com/jetbrains/notary/NotaryClientV2.kt [61:70]


    suspend fun submitSoftware(request: NewSubmissionRequest): NewSubmissionResponse {
        val response = httpClient.post("$baseUrl/notary/v2/submissions") {
            withAppleAuthentication(credentials)
            contentType(ContentType.Application.Json)
            accept(ContentType.Application.Json)
            setBody(request)
            expectSuccess = true
        }
        return response.body()
    }