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...
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...
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:"{%...
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;...
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...
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...
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...
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);...
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()...
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...