How to send http request and response in titanium alloy? - titanium

I have created a mobile app which contains the submit form. On click of submit I need hit the URL and pass the form values in the URL also need to get the response message. How can I do that? Can any one suggest some blogs or tutorials on the same.
Also I need to perform the above operation on Android, IOS and Windows platform. Is it possible to do above functionality on three platforms?
If any limitations on any platform, Please let me know.

Use this Link:-
Check it out:-
if you found any issue regarding this please let me know
Spartacus thanks :)

Related

In Karate do we have any syntax to pass the values as run-time argument

If i hit the 3rd api call, we are getting the otp in mobile. we need to provide that "otp as a run time argument /any text box window to popup for OTP" in a feature file of karate to hit 4th api call request.
Any in-built functionality available in karate or shall i make a move to java script on this.
Thanks much in advance for your response..
No built in functionality. If the OTP is a web-page submit (HTTP POST) then you might be able to do that in Karate. Refer to the OAuth example: https://github.com/intuit/karate/blob/master/karate-demo/src/test/java/demo/oauth/oauth2.feature
Yes you should probably take the help of someone who knows HTML / JS depending on what your situation is.

New version import.io cannot create API

I have a number of APIs both authenticated and not authenticated, created in earlier versions of import.io.
With the new Windows app I can't create an API, or at least pick one up. The tutorial shows a whole bunch of options, but I only get "CONFIGURE" and "EXPORT". "Configure" only gives me the option of single URL, bulk extract and URLs from another API. But there is no link to give me the API address.
Similarly, EXPORT only provides "USE IN DATA SET".
I asked their support but got this:
Hi Glenn,
Thank you for reaching out.
As you may noticed, we made some changes to our interface.
We moved the into the Export tab (next to configure) and named it
simple API integration.
Let me know if you have any questions.
Thank you,
But when I replied that I don't have that option, I got no reply.
What am I doing wrong?
Glenn.
Import.io support got back t me after I sent a screen video (http://www.evernote.com/l/AAhMJsy7INVHFauEOGFQBgEgJq2IPRSA6AU/). There's a bug in the new Windows desktop app that prevents authenticated APIs from showing.

Notification on Feeds URL

I am .net developer.I need some clarification in the feeds notification.
I have some list of RSS feed url (e.g more than 100 URL).
My question is I want to develop a console application to get notification if the new item comes in any of the 100 URLS.
What is exact way to do this. Please guide me.
Can we make use of the pubsubhub protocol for this requirement or any other simple approach is available to do this.
Thanks,
Jayakumar
Yes, PubSubHubbub is a protocol that you could use for this. Now, it's not implemented by all feeds out there, so you'll have to resort to polling. Another option is to use services like Superfeedr which provide a webhook mechanism to notify your application when a feed has been updated.

How can I import iPhone notes to my app?

Is it possible to import a note from iPhone notes app to my app? I googled a lot to get an idea about it. Nothing helps. Can someone give any idea about it?
Thanks in Advance
Third-party apps do not have access to the notes database. There is no public API for accessing the notes data.
You can try using a flow for syncing apps (eg. ifttt.com).
Create a rule that says "If a new note has been created (if a Gmail message has the label 'notes'), forward it to my db."
The solution is very clunky, but it's a starting point.
You could then find a way to scale this for your app.

Fetching information from a facebook WebCal in iOS5

I'm building my first app which should fetch some events from a Facebook CalDAV. But I can't seem to define the source with EventKit. Am I reading the documentation wrong and is it only possible to get information from the iPhones calendar?
The source I'm trying to reach is:
webcal://www.facebook.com/ical/u.php?uid=614013015&key=AQCJQo9Dh5NqgP1Z
Does it provide a problem that it is a webcal and not an official CalDAV standard?
Thanks in advance
-Villars
I've looked it through and as I see it, EventKit doesn't give the option of connecting to a calendar outside iOS' own.