Questions tagged as 'restful'

0
answers

Technology for the development of an API with Python [closed]

I need to develop a% non-professional% in order to consume data from some sites with information on pricing of Real Estate Funds, business numbers, quantity of quotaholders, and other information to get in a critical analysis of good investing...
asked by 05.01.2019 / 14:35
1
answer

JSON return does not return in PHP

I had an API returning the data correctly, but it stopped popping up. The SQL statement when executed in Wrockbrench works. The other APIs follow this same pattern below. But it is not coming back. And I was returning before, I do not know wh...
asked by 05.09.2018 / 20:35
0
answers

REST requests with HTTPS

Good morning, Someone can get a doubt ... is as follows: I have an application that is inside a domain with certificate (HTTPS). WhenI'mgoingtoconsumeaRESTservice,Igetthe405returnandthebrowserisinformedthattheconnectionisnotsecure. I...
asked by 05.07.2018 / 17:02
0
answers

When I receive notification of PagSeguro with payment status, it gives 500 error when pushing in my API

The code below is the PUSH created so that PAGSeguro sends me notification of the status of my payment. But the error returned is 500, and in their forum there are no answers so far. Anyone who has ever had this problem can help me? @PostMappi...
asked by 15.05.2018 / 21:07
1
answer

Omit DTO attribute (Spring Data JPA)

Hello, I have two classes DTO (CategoryDTO and ProductDTO) in a restfull application, how can I omit a particular attribute of the ProductDTO when it is used in the CategoryDTO class? Below are the classes, the return on the Postman, and what I'm...
asked by 23.03.2018 / 14:12
0
answers

Send csfr_token from a client

I would like to know if you have a csrf_token from a client application for my webservice laravel Or do I have to disable larak's TOKEN check? If you have how to send, how is it? What I want to test from Postman and later an application...
asked by 06.04.2018 / 18:21
2
answers

Values do not serialize on return in REST with Jersey

Good morning everyone, I'm new here and I'm new to Java too and I'm having a problem with the serialization of an object and I do not know what else to do. I'm giving, at least trying to maintain a code here in the company, I have a class bel...
asked by 23.02.2018 / 14:20
0
answers

Cros Origin + Spring + Angular 4/5

I have a problem with my restful service with spring. Even after enabling CORS, I can not connect to my angled application. @CrossOrigin public class UsuarioController { @Autowired UsuarioService service; @RequestMapping(method...
asked by 20.02.2018 / 14:00
1
answer

Retrieve BigDecimal Value from @PathParam

I have the following call http://localhost:8080/app-teste/produto/1234/76.60 and I want to recover like this: @Get("/{produtoDto.codBarras}/{preco}") public void produtoComPreco(ProdutoDto produtoDto, @PathParam("preco") BigDecimal preco...
asked by 04.01.2018 / 15:25
1
answer

Basic Authentication in WebService Rest C #

Good afternoon !!! I'm implementing a WebService Rest but I'm not able to call the BasicAuthentication method from another class. [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, UriTemplate = "ConsultarCodigo/{cpfcnpj}")]...
asked by 16.11.2017 / 20:12