# simpleServer **Repository Path**: Andy_y_li/simpleServer ## Basic Information - **Project Name**: simpleServer - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-12-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # simpleServer A simple server write by golang base on gin. ## Usage * Get: ``` curl -X GET http://localhost:8005/simple/server/get get success! the key is not exist! ``` * Post ``` curl -X POST http://localhost:8005/simple/server/post {"id":1,"name":"andy"} ``` * Put ``` curl -X POST http://localhost:8005/simple/server/post {"id":1,"name":"andy"} ``` * Delete ``` curl -X DELETE http://localhost:8005/simple/server/delete delete success! ``` * Upload ``` curl -X POST http://localhost:8005/simple/server/upload \ -F "upload[]=@./1.zip" \ -F "upload[]=@./README.md" 2 files uploaded! ``` ​ ​