- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to use our own .NET API to securely log in to our website through an APP that we are currently developing in XDK but when I use the API Explorer Sandbox there are so many options I don't know which ones to select. Please could someone take a look and advise?
Here is our API: http://index.leaveplanner.com/webservice/PublicAPI.svc?singleWsdl
To login it requires a username and password. When working it should parse back a "0" for "username and password incorrect".
Any help with this would be greatly appreciate.
Thanks
Andrew
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API Explorer Sandbox in Webservices can be used for making a GET or POST requests with URL params only, it does not really support any basic auth for passing username and password.
If you have APIs that returns data response in json/xmp then you can use API Explorer Sandbox to create bindings for it and use in App Designer to create data bindings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rakshith,
Thanks for getting back to me. The data response is in JSON and the XDK brings up a load of tick boxes to create a data binding, but I don't know how to get it working. There are so many responses that I don't know which to select so that I can hook the service up to the login button and get in to the app? Here are the results when using GET:
<div>
</div>
If you can shed any light on this, it would be great.
Thanks
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here are video links showing how to use web servies:
https://software.intel.com/en-us/videos/using-services-datafeed-in-app-designer
more details here: https://software.intel.com/en-us/xdk/docs/using-web-services
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page