ri0t1985 / api-creator

Project that allows you to turn static website data into an API through CSS selectors
MIT License
6 stars 0 forks source link

Implement test call #11

Closed ri0t1985 closed 7 years ago

ri0t1985 commented 7 years ago

When creating a new user generated endpoint, the only way to currently test if it has the valid response, is to create it, and then call it.

If it does not work, the user will have to go through the hassle of deleting it, creating it again, and testing it again, until the correct response is retrieved.

For ease of use, we should implement a /test endpoint, which will accept the same parameters as the create call, but instead of saving anything, simply scrape the URL, and return the scraped response (with maybe optionally some debug information).

ri0t1985 commented 7 years ago

Implemented in pull request #13

ri0t1985 commented 7 years ago

Implemented in release 0.3