diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/README.md b/README.md index bd618d2..6b114e7 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # itemsense-postman -> A collection of ItemSense's API calls written for usage with Postman +> A collection of ItemSense 2016r4 API calls written for usage with Postman ## Prerequisites -In order to use this, Postman must be installed. For information on how to get started with Postman, please visit https://www.getpostman.com/docs/ +- Postman must be installed. For information on how to get started with Postman, please visit https://www.getpostman.com/docs/ +- An ItemSense 2016r4 installation ## Install/Import In Postman, click **Import** and either upload the file *ItemSense.postman_collection*, or provide it the direct url to the file within github. @@ -13,8 +14,9 @@ In Postman, click **Import** and either upload the file *ItemSense.postman_colle ## Configuration The collection uses a few default values that are configured as environment variables: -- BASE_URL : This is the hostname where your itemsense instance lives. +- BASE_URL : This is the hostname or IP address of your ItemSense 2016r4 instance. - Authorization: This is setup in the request headers. Currently it is configured with the out of the box admin account for ItemSense. If the authorization is updated, make sure to click **Save**, so that it overwrites the existing stored value. +- Content-Type: set this to application/json for PUT and POST requests ### BASE_URL Update: