We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a9759 commit ae4b6feCopy full SHA for ae4b6fe
README.md
@@ -1,2 +1,24 @@
1
-# code-sharing-platform
2
-
+# Code Sharing Platform
+
3
+## API [/api](http://localhost:8889/api)
4
5
+#### GET [/code](http://localhost:8889/api/code)
6
+Get the code snippet
7
8
+#### POST [/code/new](http://localhost:8889/api/code/new)
9
+Update the code snippet
10
11
+Consumes a JSON:
12
+```javascript
13
+{
14
+ "code": "YOUR CODE SNIPPET" // Must not be null
15
+}
16
+```
17
18
+## Web Interface [/](http://localhost:8889/)
19
20
+#### GET [/code](http://localhost:8889/code)
21
+Get the code snippet html page
22
23
+#### GET [/code/new](http://localhost:8889/code/new)
24
+Get the html page for updating the code snippet
0 commit comments