# java-restful-service **Repository Path**: deepler/java-restful-service ## Basic Information - **Project Name**: java-restful-service - **Description**: this is a java restful app project demo - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2015-11-29 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 用户验证 curl -X POST -vu clientapp:123456 http://localhost:8089/oauth/token -H "Accept: application/json" -d "password=123456&username=mytest&grant_type=password&scope=read%20write&client_secret=123456&client_id=clientapp ### 更新令牌 curl -X POST -vu clientapp:123456 http://localhost:8089/oauth/token -H "Accept: application/json" -d "grant_type=refresh_token&refresh_token=134cb18f-101f-4bac-80eb-946211e39170&client_secret=123456&client_id=clientapp ### 注册用户 curl -X POST -d "username=xiaohua&password=123" localhost:8089/user