Questions tagged as 'rest'

1
answer

How to save files on separate servers by extension

I have a WEB API that receives a file via POST it follows the Controller code: public async Task<HttpResponseMessage> Post() { // Ver se POST é MultiPart? if (!Request.Content.IsMimeMultipartConten...
asked by 06.01.2017 / 18:27
1
answer

REST API Versioning. Is there a way to do it and what would be the best option?

I currently develop APIs for integrating internal services with our company and in the near future we will have the opportunity to make available some of our APIs to external partners. Suggest the idea of an API versioning in a team brainstor...
asked by 26.10.2016 / 11:41
1
answer

Restricting access to data with REST

I would like to know if it is possible to restrict access to the data of my REST application. For example, I have the xml / json that it returns in link >, where it returns me to my list of users. So anyone who discovers the url, c...
asked by 25.07.2014 / 22:17
2
answers

How to fix POST request URL using REST in ExtJS 4?

I am using REST proxy. According to the standard, when adding a data is used the POST without any parameter in the URL. For example, if I want to add a user, my URL must be localhost/usuarios/ . With the REST proxy of ExtJS 4, adding a...
asked by 18.12.2013 / 14:15
3
answers

Deserialization of JSON

I'm having difficulty deserializing this JSON: string json = "{\"Cidade\":[\"Arrio do Sal\",\"Atl\u00e2ntida\",\"Bom Princ\u00edpio\",\"Brochier\",\"Cachoeirinha\",\"Canaos\",\"Canela\",\"Canoas\",\"Cap\u00e3o da Canoa\",\"Cidreira\",\"Distr...
asked by 16.11.2018 / 17:09
1
answer

Spring Rest - Use of various Services and Repositories

I have a question about the best way to implement some services with Spring Rest , but I could not find material for this case: Let's say I have a service for making a release ( LancamentoService ). This service launches, updates the balance...
asked by 17.10.2018 / 18:36
1
answer

Is ASMX web service obsolete?

I came across the need to consume an ASMX Web Service. So far I had just consumed RESTful APIs. I noticed that the same is quite different from a RESTful API, for example. Given the way it's set up, it looks like it's already been set aside,...
asked by 22.03.2018 / 13:23
1
answer

Cookies or Session by JavaScript

I'm working on a project, and the backend (java) is completely separate from the front-end , and they communicate with REST . > My question is, let's start working in the authentication area, and was wondering if you can control authenticatio...
asked by 02.07.2014 / 19:48
1
answer

Doubt when deserializing objects JSON C #

asked by 28.09.2017 / 03:49
2
answers

JavaScript - React JS

How do I get a part of a JSON, put in a variable, and then play this variable in a widget of my layout? Example: ( link ) I want to get the value of "ip", and put in my widget instead of the value '1,410' . constructor(props){super(props)...
asked by 04.11.2017 / 18:13