Questions tagged as 'rest'

1
answer

Is web service hosting the same as a site with pages?

I'm developing a mobile application with Xamarin. This application is a screen to authorize or not to discount above that authorized by the sellers. So I have a web service that goes in the bank and takes all the relevant information to the cl...
asked by 15.08.2017 / 15:21
1
answer

HTTPS in Rest Architecture

I have a web service written using SpringBoot running on Tomcat and a client application written in AngularJS running on Apache2. I would like to know how the SSL issue works for this case. Should SSL be configured on Tomcat and Apache2? If so,...
asked by 14.02.2017 / 11:52
1
answer

How to get filenames inside folders on WEB server API

I have a directory File / Uploads AndIwouldliketolistallfiles,insidethisdirectoryIhaveNfolders.WhatI'veachievedsofarishere.stringpath=HttpContext.Current.Server.MapPath("~//Arquivos//Uploads"); string[] files = System.IO.Direct...
asked by 08.01.2017 / 00:20
1
answer

Save data via POST on the bank with Vraptor

I have two methods in my Controller , one that lists all the data in the database and one method to save data in the database. I can already list all data when accessing URI but when I try to save from this error:    java.lang.Il...
asked by 10.09.2015 / 20:12
1
answer

Test concurrent queries on the REST server

I have a REST/WebApi server and wanted to test its performance with concurrent queries. My objective is to test, logically, the performance, and also if it is treating each request separately, that is, each query is handled by a process, thus...
asked by 01.08.2015 / 15:08
1
answer

StackOverflow in bidirectional relationship in JPA

I am facing this problem with a bidirectional relationship, when I put a question in question to create an answer it does the persistence, until then beauty, but if I try to get a get or even in the API response points me an http 500, I discover...
asked by 08.06.2016 / 13:38
3
answers

How to force read all the results in REST on a page?

foreach ($result as $indices) { // Aqui ele retorna 50 registros por conuslta echo $indices['Empreendimento']; // Provavelmente preciso de um loop da paginação aqui dentro // para falar para o foreach que enquanto houver paginaç...
asked by 28.11.2015 / 15:10
1
answer

ApplyUpdates on REST with Firedac

I'm doing a project that uses a REST server with FireDac . I use a Generic function to give my select but when I try to give my ApplyUpdates it does not give any error but the data is not reflected in the DB. My Applyupda...
asked by 01.07.2015 / 15:35
1
answer

REST with error could not find resource for full path

I'm trying to create a very simple REST application in Java, using Tomcat 8 as the server. However, when trying to access the application: http://localhost:8080/aplicacao/rest/teste It brings me the following error: Mar 03, 2015 9:18:39 A...
asked by 03.03.2015 / 13:40
1
answer

How to solve html rendering with VUE?

I'm doing a test with the wordpress rest-api with vue 2.x, and one of the returned attributes is as follows: "content": { "rendered": "<P>Bem-vindo ao WordPress. Esse é o seu primeiro post. Edite-o ou exclua-o, e então comece a escr...
asked by 31.03.2017 / 18:34