You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -20,7 +20,7 @@ Flask API is a drop-in replacement for Flask that provides an implementation of
20
20
Requirements:
21
21
22
22
* Python 2.7+ or 3.4+
23
-
* Flask 0.12.3+
23
+
* Flask 0.12.4+
24
24
25
25
Install using `pip`:
26
26
@@ -46,7 +46,7 @@ def example():
46
46
return {'hello': 'world'}
47
47
```
48
48
49
-
A renderer for the response data will be selected using content negotiation based on the client 'Accept' header. If you're making the API request from a regular client, this will default to a JSON response. If you're viewing the API in a browser, it'll default to the browsable API HTML.
49
+
A renderer for the response data will be selected using content negotiation based on the client 'Accept' header. If you're making the API request from a regular client, this will default to a JSON response. If you're viewing the API in a browser, it'll default to the browsable API HTML.
50
50
51
51
## Requests
52
52
@@ -133,8 +133,8 @@ You can now open a new tab and interact with the API from the command line:
133
133
134
134
```shell
135
135
$ curl -X GET http://127.0.0.1:5000/
136
-
[{"url": "http://127.0.0.1:5000/0/", "text": "do the shopping"},
137
-
{"url": "http://127.0.0.1:5000/1/", "text": "build the codez"},
136
+
[{"url": "http://127.0.0.1:5000/0/", "text": "do the shopping"},
137
+
{"url": "http://127.0.0.1:5000/1/", "text": "build the codez"},
138
138
{"url": "http://127.0.0.1:5000/2/", "text": "paint the door"}]
0 commit comments