Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add new API notebook #15

Closed
wants to merge 7 commits into from
Closed

Conversation

InertGas01
Copy link

> curl -X GET http://127.0.0.163:8000/notebook/User_Guide
Shows the content of note "User_Guide".
"/<Title>/ Show the content of the note with title <Title>."

> curl -X PUT http://127.0.0.163:8000/notebook/new_note_title/content
Create a new note named "new_note_title" with content "content".

> curl -X POST http://127.0.0.163:8000/notebook/new_note_title/Content
Change the content of note "new_note_title" from "content" to "Content".

> curl -X POST http://127.0.0.163:8000/notebook/new_note_title/append/can't
> curl -X POST http://127.0.0.163:8000/notebook/new_note_title/append/contain
> curl -X POST http://127.0.0.163:8000/notebook/new_note_title/append/whitespaces.
Append " can't", " contain", " whitespaces." respectively to the content of note "new_note_title".

> curl -X GET http://127.0.0.163:8000/notebook/new_note_title
Shows the content of note "new_note_title".
"Content can't contain whitespaces."

@andy89923
Copy link
Owner

andy89923 commented Dec 10, 2024

Hi @InertGas01 ,

Please use rebase to merge the same commits into one. (eg: fix: linter error) .

@InertGas01 InertGas01 closed this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants