Skip to content

Commit 027e2d8

Browse files
authored
Update README.md
1 parent e08ecce commit 027e2d8

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,57 @@
11

2+
# Knock Cpp API
3+
4+
Compile C++ everywhere with notes and code spaces!
5+
6+
## Getting Started
7+
8+
These instructions will guide you on how to use the API and make requests to its endpoints.
9+
10+
### Prerequisites
11+
12+
To interact with the API, you will need:
13+
14+
- A tool to make HTTP requests (e.g., cURL, Postman)
15+
16+
### API Base URL
17+
18+
The base URL for accessing the API is: `<base_url>`
19+
20+
## API Endpoints
21+
22+
The API exposes the following endpoints:
23+
24+
### Addon
25+
26+
- `POST /addon/compile`: Compiles source code.
27+
- `POST /addon/download`: Downloads source code.
28+
- `POST /addon/assembly`: Generates assembly code.
29+
30+
### Notes
31+
32+
- `POST /notes/new`: Creates a new note.
33+
- `GET /notes/recollector`: Retrieves the notes.
34+
- `POST /notes/items`: Adds items to the notes.
35+
- `DELETE /notes/delete`: Deletes a note by ID.
36+
- `GET /notes/show`: Retrieves a note by ID.
37+
- `GET /notes/last`: Retrieves the last note.
38+
39+
### Crypto
40+
41+
- `GET /crypto/sha256`: Generates SHA256 hash.
42+
43+
## API Usage
44+
45+
Detailed examples of how to use the API endpoints can be found in the [API Usage](https://github.com/scyth3-c/knock-cpp-API/blob/master/Doc/api-usage.md) document.
46+
47+
## API Reference
48+
49+
For detailed information about the API endpoints, request/response formats, and parameters, please refer to the [API Reference](https://github.com/scyth3-c/knock-cpp-API/blob/master/Doc/api-reference.md) document.
50+
51+
## Contributing
52+
53+
Contributions are welcome! If you find any issues or have suggestions for improvements, please create an issue or submit a pull request.
54+
55+
## License
56+
57+
This project is licensed under the [MIT License](LICENSE).

0 commit comments

Comments
 (0)