Questions tagged as 'post'

1
answer

Send Json from client application and receive on Server

I'm having a problem sending a json from my client application to my API on the server. The Json is generated correctly, and the POST request is performed, however on the server side the following error is reported: "message": "Ocorreu um err...
asked by 11.05.2018 / 16:19
0
answers

Send data via POST - MEAN STACK

When I pass a null value I get the backend function return, but when the value is not null, I get a bad request (400) error. See what I'm doing, what could be wrong? Error:    POST link 400 (Bad Request)       Failed to load link : In...
asked by 09.05.2018 / 20:11
0
answers

Receiving Post Json in Django FrameWork

If I send a post like this: data={ 'supplier': supplier_name, 'date': date, 'payment':payment, 'material':[{"name":"tubo","qtd":3,"price":3},{"name":"calha","qtd":4,"price":5}] } $.ajax({ type:"POST", url:"{%...
asked by 09.05.2018 / 21:30
0
answers

Empty post post - problem with file reader

Hello, I'm developing in an application using angular 2. I use dropzone.js to upload files. The problem is this: When I load the files directly from dropzone to an array of files, as in the code below: this.showUploadFileNotAllowed = false;...
asked by 04.04.2018 / 20:09
0
answers

Radio button is not passing value

I use 3 radio buttons to select the input voltage of an equipment (110V, 220V or Automatic). If I put only 2 radio buttons, they both function normally. If I put 3, the first one does not work correctly. He apparently does not pass the value he...
asked by 28.03.2018 / 16:04
0
answers

HTML JSon POST C #

I have the following class: public class Ticket { public string name { get; set; } public string content { get; set; } public int itilcategories_id { get; set; } } And the following task: static async Task<Uri> Create...
asked by 28.03.2018 / 12:11
1
answer

Script in Firestore (Firebase) does not arrive in update

I'm having problems with the code below. The code arrives at the postbackRef.add and adds the information to the database, but after that it does not go into transactionsRef.where to perform the update just under transactionUpdate.update. What c...
asked by 19.03.2018 / 21:03
3
answers

Sending UTF-8 by POST does not work

Have the following connection class: public class Conexao { public static String postDados(String urlUsuario, String parametrosUsuario) { URL url; HttpURLConnection connection = null; try { url = new URL(urlUsuario);...
asked by 16.03.2018 / 14:24
0
answers

Unable to compare string value received via AJ

I'm having trouble comparing the string in the success function in an AJAX request. AJAX Method: $(function () { $('.error').hide(); $(".form_submit").click(function () { $('.error').hide(); var email = String($("input#email").val()...
asked by 21.03.2018 / 13:19
2
answers

Display data from a Json file in HTML

I'm stuck in a situation where I can not turn the data blocks of the JSON file into HTML, nothing appears. Below I'll put the codes for you to take a look at If you can tell me a cool site about JSON I also need to know about filtering and ad...
asked by 08.03.2018 / 19:04