Ever wanted to mock a backend request with a real request instead of hard-coded JSON?
Try jsonurl.
It allows you to get a JSON straight from a URL. For example from this URL:
https://jsonurl.com/{“name”: “Max”}
you can get this json:
{“name”: “Max”}
Or you can get it with a delay to simulate a heave request by adding a ?delay param like
https://jsonurl.com/{“name”: “Max”}?delay=2
Or in UI at jsonurl.com
I understand the idea, but I would rather mock the request to save on requests going out. if I have to define the structure and data anyway, I would prob stick to mocking instead of relying on external service. it's an interesting idea though