Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashishk1331/pg-backend


https://github.com/ashishk1331/pg-backend

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

## API

exposed @ localhost:8000

### Run the API

run the command,

```bash
go run main.go
```

### Routes

1. **POST** `/check?question_id=&test_id=`
It takes parameters like question_id and test_id.
The code block is accepted as a JSON object. Code block is found inside the `content` field.
eg:
```json
{
"content": "a, b = 23, 34\nprint(a + b)"
}
```