© 1999-2048 dssz.net 粤ICP备11031372号
[其它] UrlParser-florentine-cousin-:FreeCodeCamp URL标头解析器-源码
说明:API项目:用于FreeCodeCamp的URL Shortener Microservice 用户故事 我可以将URL发布到[project_url]/api/shorturl/new并且在JSON响应中将收到一个缩短的URL。 范例: {"original_url":"www.google.com","short_url":1} 如果我传递的无效URL没有遵循有效的http(s)://www.example.com(/more/routes)格式,则JSON响应将包含类似{"error":<weixin_42127020> 上传 | 大小:18kb