Introduction
Postman is an API platform for developers to design, build, test and iterate their APIs. It is an HTTP client that tests HTTP requests, utilizing a graphical user interface, through which different types of responses are returned that need to be subsequently validated. This article describes how to use Postman with Votiro.
Prerequisites
Install Postman by downloading one of the following:
Procedure
Generating a Service Token
|
1. |
Generate a Service Token. Go to Settings > Service Tokens > Create New : |

|
2. |
Select the token Type: |
|
a. |
Connector - Basic integration. Allows authentication for uploading files procedure. |
|
b. |
Developer - Advanced integration. For all available APIs. Handle it with caution. |
|
3. |
Enter a name for the new token under Issued To. |

|
6. |
Copy and save the token string that appears on this page. |
WARNING!
Save the token string. This page will only appear once.

|
7. |
Press OK to close the Token window. |
Postman Setup
|
1. |
In the Postman app, go to Workspaces > My Workspace and press New: |

|
2. |
The Create New window opens. Select HTTP Request: |

|
3. |
Press the Settings icon: |

|
4. |
The Settings window opens. To ensure that http requests will go through even if your VA is using a self-signed certificate, toggle SSL certificate verification to OFF: |

|
5. |
Close the Settings window. |
|
6. |
Under the Untitled Request dropdown box, select POST: |

|
7. |
In the Enter request URL box, enter your VA FQDN in the following format: |
https://<VA-FQDN>/disarmer/api/disarmer/v4/upload
For example:

|
8. |
Select the Authorization tab and under the Type dropdown, select Bearer Token: |

|
9. |
Select the Headers tab. |
|
10. |
In the first row of the Key column, start to type Content until a dropdown list appears. Then select Content-Type from the dropdown list: |

|
11. |
In first row of the Value column, start to type multipart until a dropdown list appears. Then select multipart/form-data from the dropdown list: |

|
12. |
Select the Body tab and then select form-type: |

|
13. |
In the first row of the KEY column, type File, and select File from the hidden dropdown list: |

|
14. |
In the first row of the VALUE column, press Select Files and select the desired file from the browser window that opens. |
|
15. |
In the second row of the KEY column, type Properties. |
|
16. |
In the second row of the VALUE column, enter the following: |
{"PolicyName":"Default Policy","ChannelType":"FileConnector",
"ChannelId":"827b50a3-d585-4ba5-a5ca-100b09068123","ChannelName":"API Up-Sync"}
|
17. |
After completing steps 13-16, the KEY and VALUE table should be identical to the below screenshot, with the exception of the file name: |

|
18. |
Press the Send button: |

|
19. |
You should get a HTTP/200 response and a GUID string in the body. This will be the Correlation ID of the file that you have submitted. |
For example:

|
20. |
On the Incidents page, you will be able to see the exact string: |

Comments
0 comments
Please sign in to leave a comment.