microsoft-graph-explorer-v4 icon indicating copy to clipboard operation
microsoft-graph-explorer-v4 copied to clipboard

improvement : pre-fill payload for requests

Open baywet opened this issue 6 years ago • 3 comments

Putting a part of the conversation I just had with @yinaa a couple of minutes ago. It'd be awesome to save time and to avoid typos during demos to have a button "pre-fill payload" when building any POST/PUT request. Clicking that button would look at the url template I currently have and get the standard JSON payload to put it in the payload box.

AB#7537

baywet avatar Mar 06 '18 20:03 baywet

I concur -- this would be so useful. I was thinking a Gist-based template source so that we can save our favorite requests. We could also use OneDrive to store our templates. 753741

MIchaelMainer avatar Mar 06 '18 20:03 MIchaelMainer

This seems like something that's already done, right? @bettirosengugi @ddyett @MIchaelMainer

thewahome avatar Jul 22 '20 14:07 thewahome

No, this hasn't been done.

This would be a persistent storage of requests created by the user. Customers, MVPs, PMs, field engineers demonstrate and test with Graph Explorer and could use this feature to have pre-canned requests associated with their account, or accessible anonymously.

We should consider Gist for this, like what they do for Script Lab: https://github.com/OfficeDev/script-lab.

https://developer.github.com/v3/gists/#list-gists-for-a-user

image

MIchaelMainer avatar Jul 22 '20 16:07 MIchaelMainer