Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/funkymed/webservicesjs
a jquery plugin to test your webservices
https://github.com/funkymed/webservicesjs
Last synced: about 2 months ago
JSON representation
a jquery plugin to test your webservices
- Host: GitHub
- URL: https://github.com/funkymed/webservicesjs
- Owner: funkymed
- Created: 2013-03-14T10:45:47.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-04-07T15:31:47.000Z (over 7 years ago)
- Last Synced: 2024-04-13T16:21:42.798Z (9 months ago)
- Language: JavaScript
- Homepage: http://med.planet-d.net/demo/web/webservicesjs
- Size: 163 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#WebservicesJS
Test all your webservices in easy and fast way.
Info : http://funkymed.github.com/webservicesjs/
GitHub : https://github.com/funkymed/webservicesjs##Demo
http://med.planet-d.net/demo/web/webservicesjs
##Author
Cyril Pereira
##Documentation
You'll need to have jQuery (http://jquery.com) and Bootstrap (http://twitter.github.com/bootstrap).
If you got my files, no need to do more things, just edit the forms.js
~~~
var myforms = [
{
action:'http://www.urlwebservices.com/yourwebservices.php',
title:'test',
method:'GET',
inputs:[
{label:'field1',name:'name1',defaultvalue:'value1',type:'text'}
]
}
];
~~~
Finally start the engine :
~~~
$(myforms).webservices();
~~~
If need to to access other domain, add a proxyPath, take a look at proxy.php
~~~
var options = {proxyPath:'proxy.php'};
$(myforms).webservices(options);
~~~
Finaly, if you want to change the loader, do this :
~~~
var options = {loaderGif:'ajax-loader.gif'};
$(myforms).webservices(options);
~~~
Now you can use your variable directly in url, in this exemple (field1) will be replaced by the value of the field
~~~
var myforms = [
{
action:'http://www.urlwebservices.com/(field1)',
title:'test',
method:'GET',
inputs:[
{label:'field1',name:'name1',defaultvalue:'value1',type:'text'}
]
}
];
~~~