Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd3dd45b

Browse files
Update 1-serialization.md (#9543)
Making explicit the http GET method of the httpie calls.For some reason it is sending a POST instead of a GET request as it should be described here:https://httpie.io/docs/cli/optional-get-and-postNote:I was following the docs and testing it within the Git Bash windows console app for making the requests and debugging the DRF projenct in pycharm.
1 parent10b25e7 commitd3dd45b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/tutorial/1-serialization.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ You can install httpie using pip:
321321

322322
Finally, we can get a list of all of the snippets:
323323

324-
http http://127.0.0.1:8000/snippets/ --unsorted
324+
httpGEThttp://127.0.0.1:8000/snippets/ --unsorted
325325

326326
HTTP/1.1 200 OK
327327
...
@@ -354,7 +354,7 @@ Finally, we can get a list of all of the snippets:
354354

355355
Or we can get a particular snippet by referencing its id:
356356

357-
http http://127.0.0.1:8000/snippets/2/ --unsorted
357+
httpGEThttp://127.0.0.1:8000/snippets/2/ --unsorted
358358

359359
HTTP/1.1 200 OK
360360
...

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp