Building dynamic urls in REST calls
How do you dynamically build a new URL when accessing a REST interface that has a unique object key in the url for every JSON command?
-
Select a REST template from Web Services library and drag it onto your design palette. Check the "Advanced Configuration" box. Click Next. Create the Authorization header and creat the Request URL by entering in the static web address elements. For the dynamic elements in the URL, click on the Process Library, select Form Data and drag the Form data to the URL. Authenticate and click Next. Provide a Request Payload example and click Map schema. Connect the Form Data objects to the JSON payload objects. Click Next and map the Response data to the Form objects. Click Finish.
请先登录再写评论。
评论
1 条评论