Questions tagged as 'post'

1
answer

I can not declare variable inside id

@$c_id = $_POST['numero']; @$data_aa = $_POST['data_aa']; // Data esta vazio if($data_aa == ''){ $var = "oi"; echo "$var"; } If I put the variable $var out of if() , it works normally.     
asked by 16.09.2018 / 04:06
0
answers

Error in the loop process using for

Hello, I would like to help you, to try to solve the following problem, I created a script that allows you to get the direct link from a host of online videos upload, the process works, but I do not know why the loop does not repeat it's working...
asked by 21.08.2018 / 13:57
0
answers

POST in ReactJS with object included, how to do?

I need to make an enrollment for Course Instructors, in which each instructor will have a course. How do I? I'm doing it that way and it's not going: PS.: variable name and email receive a variable in String , already the course va...
asked by 13.08.2018 / 07:13
0
answers

Encrypted PostData

I'm doing an api in php, and I need to send this post in "CURLOPT_POSTFIELDS", but I have no idea what's below, and I do not even know if it's possible to correct it. "device_id": "S-1-5-21-1104768033-2547358280-1812167977", "uid": "61bd1194-...
asked by 17.08.2018 / 00:42
0
answers

How to send data, via POST, from android to PHP in a synchronous way?

I need to send data to the database, and I'm using PHP. I was trying through the Ion library, but because it was asynchronous, the application featured NullPointerExceptions when I had more than one data being sent. I tried to implement okHttp,...
asked by 31.07.2018 / 05:21
0
answers

postasync submitting content null

I'm in a Xamarin project where I use a web service in PHP. The problem is as follows, I send json to ws but when I receive it by POST, nothing arrives on it C # code: HttpContent content = new StringContent(json, Encoding.UTF8...
asked by 18.07.2018 / 20:20
1
answer

How to show Controller result in View c #

I would like to show my result that is in the controller method in View. EX: Controller: public class SMSTarifado { public int QtdTarifados { get; set; } public int QtdEnviados { get; set; } public int QtdRespondidos { get; set;...
asked by 23.07.2018 / 20:57
0
answers

HTTP request POST with x-www-form-urlencoded in Agular 6

I need to make an HTTP POST request with x-www-form-urelcoded in angle 6. I tried something like: pesquisaEmail(email): Observable<any>{ let headers = new HttpHeaders(); headers.append('Access-Control-Allow-Methods', 'GET, P...
asked by 10.07.2018 / 00:08
1
answer

Post method Python service example

Any examples of a Python method service? I do not know how to do this with the database connection. I know how to do 'Get' and I'll leave an example below. @route('/dadosBloqueios', method = "GET") def dadosBloqueios(): respons...
asked by 04.07.2018 / 17:53
0
answers

Post Method returns response code 400 on Android with Volley Singleton

I've created two custom classes according to what my teacher instructed to do the request on the server, but I'm getting a 400 return and I can not figure out the reason. Searching, I saw that it may be something related to the header, but I do...
asked by 24.06.2018 / 02:39