{"__v":1,"_id":"55fc9b813c21291900e7e10a","category":{"__v":1,"_id":"55fc9b7a3c21291900e7e0da","pages":["55fc9b813c21291900e7e109","55fc9b813c21291900e7e10a","55fc9b813c21291900e7e10b","55fc9b813c21291900e7e10c","55fc9b813c21291900e7e10d","55fc9b813c21291900e7e10e","55fc9b813c21291900e7e10f"],"project":"5553d36165e8260d0024419a","version":"55fc9b793c21291900e7e0d7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-13T22:52:06.479Z","from_sync":false,"order":2,"slug":"creating-api-calls","title":"Creating API Calls"},"parentDoc":null,"project":"5553d36165e8260d0024419a","user":"5553d33065e8260d00244199","version":{"__v":12,"_id":"55fc9b793c21291900e7e0d7","project":"5553d36165e8260d0024419a","createdAt":"2015-09-18T23:17:13.545Z","releaseDate":"2015-09-18T23:17:13.545Z","categories":["55fc9b7a3c21291900e7e0d8","55fc9b7a3c21291900e7e0d9","55fc9b7a3c21291900e7e0da","55fc9b7a3c21291900e7e0db","55fc9b7a3c21291900e7e0dc","55fc9b7a3c21291900e7e0dd","55fc9b7a3c21291900e7e0de","55fc9b7a3c21291900e7e0df","55fc9b7a3c21291900e7e0e0","55fc9b7a3c21291900e7e0e1","55fc9b7a3c21291900e7e0e2","55fc9b7a3c21291900e7e0e3","55fc9bad4c80910d00b9bece","56394a0c3539050d00082122","56394a2f68b11f0d0048c9ff","56394a462fc5520d001a4db3","56394a4c2fc5520d001a4db4","56394a5b049e420d00476b5c","56394a6a2fc5520d001a4db5","56394f791593e4190073a44b","567b3adfb56bac0d0019d8d9","569d590e5a2b060d008741eb","569ea93dffccd10d00a05c7f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-14T20:16:06.439Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"Parameters and Heading settings can be set in the main test view.  By selecting advanced you are able to:\n- Add custom JSON and XML\n- Set a file for uploading purposes\n- Handle Multipart API calls\n[block:embed]\n{\n  \"html\": \"<iframe class=\\\"embedly-embed\\\" src=\\\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcUrH9vEeqUA%26index%3D4%26list%3DPLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcUrH9vEeqUA%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\\\" width=\\\"854\\\" height=\\\"480\\\" scrolling=\\\"no\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>\",\n  \"url\": \"https://www.youtube.com/watch?v=cUrH9vEeqUA&index=4&list=PLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_\",\n  \"title\": \"APImetrics API Calls (advanced)\",\n  \"favicon\": \"https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico\",\n  \"image\": \"https://i.ytimg.com/vi/cUrH9vEeqUA/hqdefault.jpg\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Adding Content to a Call\"\n}\n[/block]\nFor POST type APIs, the advanced options will allow for a variety of additional services.\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/9431642-Post_Content_Type.png\",\n        \"Post_Content_Type.png\",\n        1268,\n        230,\n        \"#e8e9eb\"\n      ],\n      \"caption\": \"Types of handled content.\"\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/j2A9rv9iSD65aPevFNZq_multipart.png\",\n        \"multipart.png\",\n        \"423\",\n        \"285\",\n        \"#3e457d\",\n        \"\"\n      ],\n      \"caption\": \"Form for editing multi-part API calls\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"JSON Editing\"\n}\n[/block]\nYou can add JSON or XML directly to a post using the JSON input form:\n\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/6EdH3JvmSNGeCyUw63ZQ_addjson.jpg\",\n        \"addjson.jpg\",\n        \"574\",\n        \"231\",\n        \"#505aa0\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\"\n}\n[/block]","excerpt":"","slug":"advanced-api-call-settings","type":"basic","title":"Advanced API Call Settings"}

Advanced API Call Settings


Parameters and Heading settings can be set in the main test view. By selecting advanced you are able to: - Add custom JSON and XML - Set a file for uploading purposes - Handle Multipart API calls [block:embed] { "html": "<iframe class=\"embedly-embed\" src=\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcUrH9vEeqUA%26index%3D4%26list%3DPLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcUrH9vEeqUA%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\" width=\"854\" height=\"480\" scrolling=\"no\" frameborder=\"0\" allowfullscreen></iframe>", "url": "https://www.youtube.com/watch?v=cUrH9vEeqUA&index=4&list=PLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_", "title": "APImetrics API Calls (advanced)", "favicon": "https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico", "image": "https://i.ytimg.com/vi/cUrH9vEeqUA/hqdefault.jpg" } [/block] [block:api-header] { "type": "basic", "title": "Adding Content to a Call" } [/block] For POST type APIs, the advanced options will allow for a variety of additional services. [block:image] { "images": [ { "image": [ "https://files.readme.io/9431642-Post_Content_Type.png", "Post_Content_Type.png", 1268, 230, "#e8e9eb" ], "caption": "Types of handled content." } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/j2A9rv9iSD65aPevFNZq_multipart.png", "multipart.png", "423", "285", "#3e457d", "" ], "caption": "Form for editing multi-part API calls" } ] } [/block] [block:api-header] { "type": "basic", "title": "JSON Editing" } [/block] You can add JSON or XML directly to a post using the JSON input form: [block:image] { "images": [ { "image": [ "https://files.readme.io/6EdH3JvmSNGeCyUw63ZQ_addjson.jpg", "addjson.jpg", "574", "231", "#505aa0", "" ] } ] } [/block] [block:api-header] { "type": "basic" } [/block]