Skip to content

Commit bac3ff9

Browse files
authored
Postman instruction clarification for readme.md (#148)
* Update readme.md for windows compatibility. Using python interpreter instead of bash because it ignores line endings and will work on all platforms * Changed Postman Instruction to add the currect address to the right fields in dev environment * Update Postman image to include Current Value field entry
1 parent 04f66f4 commit bac3ff9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,16 @@ Linux,
193193

194194
2. Once you have Postman open, click on file -> import and import the .json file
195195
3. Click on the settings gear icon on the far top right (next to the eye icon) and click to add a new environment.
196-
4. Name your environment `dev` and create a variable called `api_url`. Give it a value of `https://localhost:8000`, which is the URL of your Django dev environment when it is running.
197-
5. Now, as long you have the Django app (https://localhost:8000) running, you should be able to make requests like POST Create User and POST Authenticate.
196+
4. Name your environment `dev` and create a variable called `api_url`. For both the "Initial Value" and "Current Value," fill in `http://localhost:8000` which is the URL of your Django dev environment when it is running.
197+
5. Now, as long you have the Django app (http://localhost:8000) running, you should be able to make requests like POST Create User and POST Authenticate.
198198
Click on this link to see what you should expect: https://imgur.com/hd9VB6k
199199

200200
- `POST` Create User will create a new user in your `localhost:8000` running Django app,
201201
- making a request to `POST Authenticate` will authenticate whether or not that user exists.
202202

203-
![screenshot of Postman environment variable setup](https://i.imgur.com/6Uq9XQp.png)
203+
![screenshot of Postman environment variable setup](https://user-images.githubusercontent.com/4512699/88751261-14fa9280-d10c-11ea-80c4-2934c27254ad.png)
204204

205-
5. Now, as long you have the Django app (https://localhost:8000) running, you should be able to make requests like `POST Create User` and `POST Authenticate` by clicking on the blue "Send" button in Postman.
205+
5. Now, as long you have the Django app (http://localhost:8000) running, you should be able to make requests like `POST Create User` and `POST Authenticate` by clicking on the blue "Send" button in Postman.
206206

207207
</details>
208208

0 commit comments

Comments
 (0)