# Postman ###### tags: `Postman` https://www.postman.com/ ## Variable #### set variable - name - value - scope: global / collection #### change variable collection > variable - `INITIAL VALUE`: will shared with someone else - `CURRENT VALUE`: private to you (e.g. password) ## Query Parameters(optional) `{{url}}/books?KEY1=VALUE1&KEY2=VALUE2` - Additional data we can submit to the API - Depending on the API, some are mandatory and some are optional - `?` - to start params - `&` - to connect multiple params ### key-value pair - `KEY` - `VALUE` ### Path Variables `{{url}}/books/:bookId` - no `?` - the `VALUE` won't be send - `:KEY` will be replaced in the URL with `VALUE` instead ### create random test data Type in `{{$` and it will show the options ![random options to choose from](https://i.imgur.com/d8dDgnP.png) ![auto-generated content](https://i.imgur.com/YTnKvyV.png) ### global variables (Environment) > Globals > Add/Edit ![](https://i.imgur.com/giuUdvc.png) - change the value and it will apply to everywhere using this variable `{{variable}}` ![](https://i.imgur.com/kkaj4r5.png) ## Authentication(WIP)