https://github.com/broamski/paddy
A RESTful service which proxies HTTP requests that typically return json and pads them into jsonp.
https://github.com/broamski/paddy
Last synced: 7 months ago
JSON representation
A RESTful service which proxies HTTP requests that typically return json and pads them into jsonp.
- Host: GitHub
- URL: https://github.com/broamski/paddy
- Owner: broamski
- Created: 2013-10-25T15:07:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-28T05:30:00.000Z (almost 12 years ago)
- Last Synced: 2024-05-07T18:23:27.365Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
paddy
===============A RESTful service which proxies HTTP requests that typically return json and pads them into jsonp.
#### Requirements
All dependencies are managed via Maven.
#### Execution
http://localhost:8080/paddy/padify
##### Required Query Paramaters #####
+ url=\##### Optional Query Paramaters #####
+ callback=\, default is *callback*If you are unfortunate enough to be behind an HTTP proxy, I got your back.
+ lame_proxy=\:\
*Example:* http://localhost:8080/paddy/padify?url=http://sweetapi.bro.com/gimmie-json&callback=holla
*Example:* http://localhost:8080/paddy/padify?url=http://sweetapi.bro.com/gimmie-json&callback=holla&lame_proxy=facist.proxy.local:8000
##### Return: #####
*Before:*
{
"awesome": "totally",
"stay": "based"
}*After:*
callback({
"awesome": "totally",
"stay": "based"
})