Skip to content

Commit f83dae3

Browse files
committed
Added GET and POST method test prove working
1 parent 5d6aa6d commit f83dae3

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Procfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
release: python manage.py migrate --no-input
2+
web: uwsgi saleor/wsgi/uwsgi.ini

readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,20 @@ python3 manage.py runserver
5050
```
5151

5252
You get this response in console:
53-
<p><a href="http://localhost:8000"><img src="https://namoxbase.ams3.cdn.digitaloceanspaces.com/Screen%20Shot%202018-12-08%20at%206.47.04%20PM.png" alt="drf-snippets"></a></p>
53+
<p><a href="http://localhost:8000"><img src="https://namoxbase.ams3.cdn.digitaloceanspaces.com/Screen%20Shot%202018-12-08%20at%206.47.04%20PM.png" alt="drf-console-run"></a></p>
5454

5555
Project in action
5656
<p align="center"><a href="http://localhost:8000"><img src="https://namoxbase.ams3.cdn.digitaloceanspaces.com/Screen%20Shot%202018-12-08%20at%207.01.00%20PM.png" alt="drf-snippets"></a></p>
5757

58+
Test in console -
59+
60+
GET:
61+
<p><a href="http://localhost:8000"><img src="https://namoxbase.ams3.cdn.digitaloceanspaces.com/Screen%20Shot%202018-12-08%20at%207.02.17%20PM.png" alt="drf-get-method-runnig"></a></p>
62+
63+
POST:
64+
<p><a href="http://localhost:8000"><img src="https://namoxbase.ams3.cdn.digitaloceanspaces.com/Screen%20Shot%202018-12-08%20at%206.47.04%20PM.png" alt="drf-snippets-post-method-ok"></a></p>
65+
66+
5867
## Base
5968
Directory Tree
6069
```sh

0 commit comments

Comments
 (0)