werval-sample-urlshortener:网址缩短器-werval示例应用程序

时间:2021-05-12 11:09:59
【文件属性】:
文件名称:werval-sample-urlshortener:网址缩短器-werval示例应用程序
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-12 11:09:59
Java URL Shortener-Werval示例应用程序 URL Shortener示例仅使用GET方法并输出JSON文档,实现了一个非常简单的HTTP API。 缩短的URL将存储在内存中,而不是持久存储。 它们无法在应用程序重新启动后幸存下来。 URL Shortener是使用包含的Hashids实现来实现的。 位于/一个简单页面允许您使用HTML表单使用API​​。 您会在下面找到各种可以用来使用HTTP API的命令。 列出所有缩短的网址: http http://localhost:23023/api/list 缩短给定的URL: http "http://localhost:23023/api/shorten?url=http://example.com/" 扩展给定URL的哈希值: http "http://localhost:23023/api/expand?has
【文件预览】:
werval-sample-urlshortener-master
----src()
--------test()
--------dist()
--------main()
----README.md(2KB)
----.gitignore(44B)
----build.gradle(347B)

网友评论