+ added plugins to read json and access the header to parse the request
for an API request
+ fixed logic where url param is nil
+ refactored the new code to a variable to be reused easier
+ if CONTENT_TYPE header is application/json, reply with json
- there could be more refactoring (maybe separating it to a different
endpoint) to handle other scenarios, we'll work on that later
+ added flash plugin, and the session plugin required by flash
+ set the DB name as an environment variable
+ set @message variable where it needs to be set to show on the UI
+ added a scenario for submitting the button with no text in url field
+ simplified the visit when clause to be used with any url
+ edited create route redirect if url param is empty (backend validation
for required URL field)
+ added when clause for clicking submit button
+ added then clause for current path/page