Show HN: Simple tool to generate mock APIs for testing
11–14 of 14 posts
Re: Show HN: Simple tool to generate mock APIs for testing
#12Earlier quoted context omitted.
I suppose OP is referring to a bug where you are stuck at the home page (i.e., the initial state) after you clicked around a few times. So just going to your page and then navigating back right away works, but once you start changing settings, it wouldn’t let you go back past the initial state. At least it’s that way for me in Chrome.
Gotcha. The “clicking around” causes state changes like adding a field which is stored in the URL query parameters. Initially this was a design decision to make it easy to share the URL of the Mock API you built with other developers. However, I can see this is breaking user expectations - I’ll work on getting that changed so it’s more in line with what users expect. I appreciate the feedback because initially that f…
Re: Show HN: Simple tool to generate mock APIs for testing
#13Earlier quoted context omitted.
Gotcha. The “clicking around” causes state changes like adding a field which is stored in the URL query parameters. Initially this was a design decision to make it easy to share the URL of the Mock API you built with other developers. However, I can see this is breaking user expectations - I’ll work on getting that changed so it’s more in line with what users expect. I appreciate the feedback because initially that f…
Maybe only generate a new url when they ctrl + s or hit a save button? This would be more like what you want? I think CodePen does this idr. Or keep a revision list in localstorage with all urls that would have been generated.
Re: Show HN: Simple tool to generate mock APIs for testing
#14In "List of products", I was curious to see if you would also generate URLs to random photos ...