refactor(core): Move curl endpoint to its own controller (no-changelog) (#9605)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-06-05 10:43:09 +02:00
committed by GitHub
parent 375b347b0f
commit 1563bf571d
8 changed files with 283 additions and 235 deletions

View File

@@ -5,5 +5,5 @@ export async function getCurlToJson(
context: IRestApiContext,
curlCommand: string,
): Promise<CurlToJSONResponse> {
return await makeRestApiRequest(context, 'POST', '/curl-to-json', { curlCommand });
return await makeRestApiRequest(context, 'POST', '/curl/to-json', { curlCommand });
}