I'm developing a Webservice application with restfull + Jersey and Tomcat 9. In this system I need to return a Json from a class (Product) to an android application and use contentLength (android) to retrieve the file size and use in progress ba...
I have an application in django and need to reorder the elements of the screen when the user decides to sort by date, popularity, etc.
I would not like to submit a new search every time the user selects a filter, I believe the best way would...
In php I have the following return:
$invalido = (object) array(
'invalido' => true
);
echo json_encode($invalido);
I need to display in success of ajax asked if invalid...
I would like to know if it is possible to schedule tasks with javascript, that is, I have a javascript script and if it were possible "of course" the 01:00 hour would be executed automatically.
I know this in other server languages is possibl...
I have an array of objects and I want to put them in alphabetical order but I'm not getting through the javascript, I'll put how the array is structured and the code to call the page
var json = [
{
"ID":"1",
"TÍTULO":"Algum...
I'm developing an API using java servlet , I'd like to know how to get a JSON in the request body as a parameter and write to a database?
Example:
{
"nome": "José da Silva",
"email": "[email protected]",
"telefone": "(21) 9...
I'm using a payment API that requires the phone numbers entered to be in the E.164 ( +[Código do país][código da cidade][numero de 8~9 dígitos] ) and string (as in the example below).
However, when you add the + sign, it is trans...
I need to generate a line chart with chart.js. How can I pass data to my View? I'm trying as below, but the graph does not appear.
Controller
public IActionResult Index()
{
var qryGlobal = _diagnosticRepository.GetAll()...
I've been trying for two days to solve a problem I'm having with DataTable related to json's return. I am using the examples available on the DataTable site as well as those available at GitHub .
I'm using this code to create json:
ser...
I have the following Jquery Ajax method
function postRefreshJson(_action, jsonModel)
{
$.ajax({
url: _action,
method: 'POST',
beforeSend: function (xhr) {...