https://github.com/apiman/apiman-quickstarts
Some projects to help get started quickly with various aspects of apiman.
https://github.com/apiman/apiman-quickstarts
Last synced: over 1 year ago
JSON representation
Some projects to help get started quickly with various aspects of apiman.
- Host: GitHub
- URL: https://github.com/apiman/apiman-quickstarts
- Owner: apiman
- License: apache-2.0
- Created: 2014-11-15T14:05:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T20:07:41.000Z (about 9 years ago)
- Last Synced: 2025-03-25T08:38:11.481Z (over 1 year ago)
- Language: Java
- Size: 73.2 KB
- Stars: 5
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
apiman-quickstarts
==================
Some projects to help get started quickly with various aspects of apiman.
echo-service : Simple Echo Service replying to REST actions (get/post/put/delete). The service can be reached using a curl or Httpie request as presented hereafter
Example of request using HTTPie
```
http GET http://localhost:9999/apiman-echo/hello
```
Curl based example where json library has been installed using npm `npm install -g json` to format the request send or received
```
curl -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:9999/apiman-echo/hello | json
```
Remark : The servlet consuming the HTTP requests accepts any path (/*) and the put, post actions can include a HTTP Body.