cobi.wms:postman
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| cobi.wms:postman [2021/07/26 12:02] – tkammer | cobi.wms:postman [2022/02/24 11:26] (current) – tkammer | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Once you've installed and started the program for the first time, you can **skip the account creation process** by clicking the small button at the bottom of the login screen of Postman. | Once you've installed and started the program for the first time, you can **skip the account creation process** by clicking the small button at the bottom of the login screen of Postman. | ||
| - | Afterwards you can import this Service Layer **Collection** file into Postman: {{COBI.wms: | + | ===== Importing the Service Layer Collection |
| - | (To open the Import screen of Postman, go to File -> Import or press Ctrl + O.) | + | Afterwards you can import this Service Layer **Collection** file into Postman: |
| - | For the Service Layer collection | + | {{COBI.wms: |
| + | |||
| + | To open the Import screen of Postman, go to File -> Import or press Ctrl + O. | ||
| + | |||
| + | ===== Creating an Environment for Service Layer ===== | ||
| + | |||
| + | For the Service Layer Collection | ||
| You can name the environment however you like, for example " | You can name the environment however you like, for example " | ||
| Line 25: | Line 31: | ||
| After saving the environment, | After saving the environment, | ||
| - | You can then open the Service Layer collection by opening the **Collections** tab from the left side of the Postman window, and choosing **Service Layer**. | + | ===== Logging in to Service Layer ===== |
| - | If you've done everything correctly, you should be able to select the **POST Login** request in the Service Layer collection and click on the blue **Send** button to test the login process. | + | You can now open the Service Layer Collection by opening the **Collections** tab from the left side of the Postman window, and choosing **Service Layer**. |
| + | |||
| + | If you've done everything correctly, you should be able to select the **Login** request in the Service Layer collection and click on the blue **Send** button to test the login process. | ||
| A successful login to Service Layer will yield an output such as the following: | A successful login to Service Layer will yield an output such as the following: | ||
| Line 38: | Line 46: | ||
| } | } | ||
| - | Afterwards | + | ===== Testing attachment upload ===== |
| + | |||
| + | Sometimes uploading attachments with Service Layer doesn' | ||
| + | |||
| + | To test attachment uploads, just select | ||
| + | |||
| + | A successful attachment upload will result in a response such as the following: | ||
| { | { | ||
| Line 55: | Line 69: | ||
| ] | ] | ||
| } | } | ||
| + | |||
| + | If you receive an error instead, it means attachment uploading doesn' | ||
cobi.wms/postman.1627293754.txt.gz · Last modified: by tkammer