I have the following function:    getTasks: function()     {         var taskRequest = Titanium.Network.createHTTPClient();         var api_url = 'http://myawesomeapi.heroku.com/users/' + Ti.App.Properties.getString("userID") + '/...
I have a strange problem using the angular 4's HttpClient get method.  There are some custom error messages returned from the backend which I should handle and display to the user. However I get HttpErrorResponse in the console   HttpErrorRespons...
I am trying to use SuperAgent .data() to construct a query string per the docs. However .data() no longer seems to exist.   superagent     .get(URL)     .data({ 'screen_name': USER, 'count': '1' })     .end(function(response){...
I am trying to merge two array of objects which the first array has a json file and the second the same but the second it holds the id of the first array of objects. I am trying to add the second array of objects for each to the right item of the fir...
My problem is similar to this: HTTPclient POST with problematic web site  I used tamper data to find all the request going through the client and server.  I initially executed the get request to load the page and get the dynamically generated field v...
I want to be able to put a different button inside every row (createTableViewRow). I have created five buttons (Titanium.UI.createButton), but I don't know how to place all five of my buttons for each created row. Can somebody give me a hint on h...
My download scenario is: when i click on download link on jsp it calls signed applet method with file's id, from applet I call server side method by passing that id. I can get that file at server side but I want to return/pass that file back to m...
I have an odd problem that I've been beating my head into a wall over for the past few hours.  I'm working on an iPhone app in Appcelerator Titanium, and it currently wants to wait until other code has been run before getting the results of a...
I am trying to call an api locally in my angular 6 app, the api url is http://localhost/myapi I added a proxy config file that point to this url but I got  404 error when I run my app.  My proxy.config.json file:  {   "/api/*":{     "targ...
I have been trying to get a page content using HTTPClient 3.1 and after executing the get method, I'm getting "Please enable JavaScript to view the page content" in return content.  import org.apache.commons.httpclient.HttpClient; import...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.