## Context Implement the HTTP endpoint that receives code submissions from clients and stores them as pending jobs. ## Tasks - [x] POST /run` endpoint accepts `{ language: string, code: string }` - [ ] Validates that language is in `supported_languages` - [x] Creates a `Job` with `status: Pending` - [x] Returns job ID to client - [ ] Jobs are stored in shared state for tracking ### Related Code - `src/main.rs` - `run_job()` handler - `src/main.rs` - `AppState.supported_languages
Context
Implement the HTTP endpoint that receives code submissions from clients and stores them as pending jobs.
Tasks
endpoint accepts{ language: string, code: string }`supported_languagesJobwithstatus: PendingRelated Code
src/main.rs-run_job()handlersrc/main.rs- `AppState.supported_languages