{"action":"closed","issue":{"url":"https://api.github.com/repos/Esri/arcgis-rest-js/issues/66","repository_url":"https://api.github.com/repos/Esri/arcgis-rest-js","labels_url":"https://api.github.com/repos/Esri/arcgis-rest-js/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/Esri/arcgis-rest-js/issues/66/comments","events_url":"https://api.github.com/repos/Esri/arcgis-rest-js/issues/66/events","html_url":"https://github.com/Esri/arcgis-rest-js/issues/66","id":277495811,"number":66,"title":"smart support for GET (which switches to POST automatically)?","user":{"login":"jgravois","id":3011734,"avatar_url":"https://avatars3.githubusercontent.com/u/3011734?v=4","gravatar_id":"","url":"https://api.github.com/users/jgravois","html_url":"https://github.com/jgravois","followers_url":"https://api.github.com/users/jgravois/followers","following_url":"https://api.github.com/users/jgravois/following{/other_user}","gists_url":"https://api.github.com/users/jgravois/gists{/gist_id}","starred_url":"https://api.github.com/users/jgravois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgravois/subscriptions","organizations_url":"https://api.github.com/users/jgravois/orgs","repos_url":"https://api.github.com/users/jgravois/repos","events_url":"https://api.github.com/users/jgravois/events{/privacy}","received_events_url":"https://api.github.com/users/jgravois/received_events","type":"User","site_admin":false},"labels":[{"id":770563122,"url":"https://api.github.com/repos/Esri/arcgis-rest-js/labels/faq","name":"faq","color":"ee1bf9","default":false},{"id":643940268,"url":"https://api.github.com/repos/Esri/arcgis-rest-js/labels/question","name":"question","color":"cc317c","default":true},{"id":643940269,"url":"https://api.github.com/repos/Esri/arcgis-rest-js/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-11-28T18:45:12Z","updated_at":"2018-02-26T17:42:51Z","closed_at":"2018-02-26T17:42:51Z","author_association":"MEMBER","body":"our current implementation of esriRequest defaults to POST and allows a GET to be issued manually.\r\n\r\n@patrickarlt's preference is to recommend that packages default to POST and skip implementing logic to switch from a GET to a POST after the commonly accepted ~2000 character limit has been exceeded.\r\n\r\nthis issue is intended to track interest from other developers who would like to piggyback off a _smart_ request method instead of defaulting to POST (or implementing the logic above in their own package).\r\n\r\nanecdotally, it didn't take me long to identify an ArcGIS Server operation that _appears_ to only support GET\r\n\r\n* http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/dynamicLayer\r\n* http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Dynamic_Layer_Table/02r3000000q0000000/"}}
{"actor":{"display_login":"tomwayson"}}