![]() Postman Use 3: Generate Codeīut what if you’re coding the application yourself? This is the third use of Postman. For Domino REST API, if the Domino developer is configuring a schema and scope for a third party, the OpenAPI page allows the third party to retrieve the OpenAPI specification for the specific scope. But the Import button in Postman allows you to pass a variety of content, including an OpenAPI 3.0 spec from either a downloaded file or a URL link. Many APIs, including Domino REST API, provide a Postman collection and environment, as I showed in the April’s OpenNTF webinar. This is something I’ve used for coding Domino Online Meeting Integration, configuring integration services in Foundry, coding Node.js integration with GitHub, and coding dependency management in VoltScript. If you have a working Postman request and are coding programmatic access, Postman is still extremely useful to cross-reference if the code does not work. But this is where it’s good to use the menu option View > Show Postman Console (or the shortcut code Alt + Ctrl + C on Windows, ⌘+Option+C on Mac). Postman is a low-code IDE where authentication, headers and body can all be defined by filling in fields. Those who have seen Stephan’s sessions on Domino REST API will be familiar with his command line example. This should never be under-estimated or neglected, for working out what a successful HTTP request should look like (if the application is working as expected) or cross-referencing (if the application is not working as expected).įor the hardcore developer, making curl requests via command line can give verbose details. If you’ve got a web application, the browser’s developer console can show you those details. There are different ways of finding those details for a successful request. The key with any HTTP request is understanding full details of headers and body of the HTTP request and response. ![]() When doing anything that makes HTTP calls, there’s a part that’s never a black box.Īnd that is crucial. Why is this important? Because although the first part is a black box, the second part most definitely is not. The more knowledgeable Domino developer may know it triggers a process that uses C APIs to create a Domino object to store settings which will then be passed to libcurl to call a URL. Dim session as New NotesSession Dim httpReq as NotesHTTPRequest Set httpReq = session.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |