Files
sqlpage--sqlpage/tests/sql_test_files/it_works_fetch_simple.sql
T

6 lines
221 B
SQL

set res = sqlpage.fetch('http://localhost:62802/hello_world')
select 'text' as component,
case
when $res LIKE 'GET /hello_world%' then 'It works !'
else 'It failed ! Got: ' || $res
end as contents;