Questions tagged as 'http'

0
answers

how can I traverse the object of an external api with angular js

Hi, I am working with an api with the angular service http and I get the api endpoint, url = api / v2 / {endpoint} but I can not go through the object that contains this url since to access each element I have to access a api / v2 / {endpoint} /...
asked by 05.08.2017 / 07:14
0
answers

Error calling generic handlers (ashx) c # with JavaScript getXMLObject

I have a generic handlers that I plan to use to check the database connection from my website, it is called by a JS file which uses > XMLHttpRequest to make the request to the server IIS local and return an object that will be shown in t...
asked by 29.07.2017 / 05:12
3
answers

How to get cookies with angularjs from the server's http response

I wanted to consult the following, I have an application that uses CORS, and I need to obtain the cookie that the ws of the web api return to me. Observing in the browser I see that the cookie goes in the header as Set-Cookie. I already probe wi...
asked by 07.11.2016 / 23:11
0
answers

when using the mail () method of php mailer, if you send the mail, but why the status of the http request is "canceled"?

I am using the php mailer library to send emails, in my project it is working well, send the emails that I indicated, but my question is why the status of the request is "canceled"? Besides that, when I see the detail of the request, it tells me...
asked by 24.08.2016 / 23:51
1
answer

Upload files to a server from IOS app with swift

I'm making an app with which you can upload images to a server (It's in PHP 5.2 ). Firstly, to upload the image, I did it at the moment when the button was clicked to go up from the app and it showed a alertview with a load bar,...
asked by 24.08.2016 / 10:51
1
answer

Send file and message from Android to a server

I use the following method to send a file to a server, I receive it with PHP in the variable $ _FILE, the truth is that I do not understand this method 100% and I do not know if I can add more data, I would like to send it together to file a cou...
asked by 09.06.2016 / 20:16
1
answer

Can I use the PUT method in an html form?

So far, everything is fine with GET or POST with an HTML form, but can PUT, PATCH, UPDATE be used to use them as a method when sending the form?     
asked by 25.05.2018 / 18:06
1
answer

Real-time data binning with Angular and PHP

I make a query to a .json file and with the answer I make a table but because the .json file is constantly updated, I need to be observing if that file has changed to show it in real time in the application, and I have tried but I can not get th...
asked by 27.01.2016 / 20:08
1
answer

Make my server accessible through internet

I have created a very basic server and I have opened it to port 80. After seeing that it worked, I decided to make it accessible through the internet. For this I have opened the port 80 of the router in the ip address of my computer and I hav...
asked by 29.06.2018 / 00:33
1
answer

Xamarin C # does not deserialize json

I am trying to convert some parameters that I receive in a json in whole, but for some strange reason I do not get it, can anyone know that I am failing ??? switch (response.StatusCod) { case (System.Net.HttpStatusCode.OK): res...
asked by 21.02.2018 / 20:57