Most voted "rest" questions
REST (Representational State Transfer) is a style of software architecture for distributed hypermedia systems, such as the World Wide Web, using simply HTTP. It has grown in popularity over RPC architectures such as SOAP, due to intrinsic client-server decoupling, thanks to the uniform interface that establishes between heterogeneous systems.
Learn more…552 questions
Sort by count of
-
1
votes1
answer50
viewsHow to maintain cohesion in my REST API?
I have two features of a REST API Specialists and Services. An expert can perform various services. I needed to list all services that have at least one associate expert. get services/? criteria get…
-
1
votes1
answer28
viewsReferences not available in the final program
I’m validating some functions created in python, I have a code that creates some functions. When running the program with the functions (test_client.py), I get an error. auth_utils.py: from hashlib…
-
1
votes1
answer409
viewsAngular, Java Service REST
I am trying to make persistence (insert data) using Angularjs and Webservice REST in Java, when I click Insert in the console, the following error appears: POST…
-
1
votes1
answer384
viewsHow to capture the query string of a Restful request
I need to get the parameters passed by the URI, for example: http://localhost/endpoint/param1/param2/param3 if param1 == "adduser" id = param2 name = param3 Example of a function that did not work:…
-
1
votes1
answer71
viewsUpdate screen data after an asynchronous Angular 1.6 call
I have the following problem! I have a form with an id field. this guy is passed to my GET method which is asynchronous. Data comes back perfectly from the server (line $scope.produto =…
-
1
votes1
answer2689
viewsWhat is the use of pipe() and map() functions in Angular 6?
I learned that I have to use these two functions when I’m working with HTTP requests, I learned that I have to use these two functions as a cake recipe, which you use and that’s it, I wanted to know…
-
1
votes0
answers44
viewsPassword Recovery WORDPRESS REST API
Good morning, I am developing an application, and I use a Wordpress web system. This way I use a REST API plugin to get the information pertinent to the system. However I am not knowing how to do to…
-
1
votes0
answers50
viewsREST API - Geoserver (WMS)
Good, How can I integrate Georeferenced data between a REST API (Nodejs) and a Geoserver to create a WMS? Thanks for the tips
-
1
votes1
answer95
viewsDeveloping Apis with Laravel or Micro Frameworks?
Good night! After analyzing my project I decided to divide the whole project into Apis, it will have an api for the login, another for client registration and so on. Ah beats such doubt will be that…
-
1
votes0
answers21
viewsAngularjs Services API. Does not load TITLE when sharing link
Good afternoon, I need some help finalizing a project. I have a problem that when sharing the links on social networks, the tags title, Description and etc will not load with the values returned by…
-
1
votes1
answer196
viewsAccess the service layer from the controller
Hello, I am developing a REST web service that queries Apache Solr data. I am using Spring boot + data with Solr repositories. I don’t know how to connect the service layers, respository and…
-
1
votes0
answers75
viewsCommunication with jwt between two APIS
Staff would like a recommendation: I own an angular site that communicates with an API[API 1] Asp net core and authentication is done via jwt token. This API communicates with another API[API2] also…
-
1
votes1
answer447
viewsHow to generate JSON dynamically to feed future application?
What I want to do is this: Create a minimalist application that does a database search, returns the result in JSON, and this result is interpreted by external applications via http, with no change…
-
1
votes0
answers218
viewsHow to make a POST with an Httpentity in the correct format?
Good morning, I’m performing a POST for a API using the HttpEntity of Spring, but I’m not sure if the POST that I’m performing is being done in the right way, and I’m having mistakes in creating a…
-
1
votes1
answer793
viewsExample of request with Delphi
I need to consume a Rest api that returns json. The system was made with Delphi, I’m using the ide Delphi xe7, I never made requests to consume api on desktop systems, based on where I start? Check…
-
1
votes1
answer2643
viewsPost JSON on Android
I wonder if android is yes or no performing my JSON post. Follows the code: public void login(JSONObject dados) { try { HttpClient client = new DefaultHttpClient(); HttpPost hp = new HttpPost();…
-
1
votes1
answer493
viewsAngular 2 and PHP
Hello, I’m beginner in angular 2, I’m developing an application using Angular 2 and PHP, but when having picked up the values of json gives error: ERROR Error: Error trying to diff 'Grand Turismo'.…
-
1
votes1
answer969
viewsConsume Rest webservice on Android
I’m trying to consume a Rest webservice on Android. I’ve done all the steps of the tutorial, but keeps falling into onFailure and presenting the error message. I have already checked all the code,…
-
1
votes1
answer39
viewsHow to pass value from service to var?
I have a REST service to seek the visitor’s values. However, I cannot manipulate the values coming from the service outside the Promise. export default{ data(){ return{ visitor: {} } } } created(){…
-
1
votes1
answer128
viewsDesktop and cloud system integration
I have a desktop system where I need to send some data to the service Firebase of Google. I would like an idea of what would be the best way to send this data to the Firebase, and it can sometimes…
-
1
votes2
answers2038
viewsWork with JSON for request and Java Sponse
I need to consume a WS with Rest that is already almost complete, only 2 things to finish: - mount the request JSON and manipulate the Response JSON. Here’s an example of the template I need to…
-
1
votes1
answer755
viewsDisplay featured posts and image using Wordpress REST API
I want to display the last two Wordpress posts using API Rest, after many searches and test manage to do this gambit there, but after I put this foreach inside the other one got a little slow, it…
-
1
votes0
answers87
viewsCreating Azure Cosmos DB Collections
Well I was creating a Poc with Generic Interface for handling my data, but I had difficulties to do with Webapi MVC, I did with good old MVC. But for the whole JSON issue, I think I lose a lot if I…
-
1
votes0
answers119
viewsAngularjs query data Sending object to filter
I have a WS written in Spring that takes an object as a filter and returns a data list. in my Java Service: @ResponseBody @RequestMapping(value="/{filtro}",method=RequestMethod.GET) public Datatable…
-
1
votes1
answer502
viewsService is not being called to update the database
I did a job and when I call on URL, passing the appropriate parameters, does not work: Call on URL: http://localhost:9078/api/atualiza/1000012120/teste My service: public class AtualizaController :…
-
1
votes1
answer345
viewsWhen running the POST passing object via the URI of a Webapi, the object arrives as null in the method
I am a few days beating head with this problem I have a fronted MVC5 application and it sends an object to another Webapi application in a Save method(). See the code of my Frontend application that…
-
1
votes2
answers2270
viewsRequest blocked by CORS Policy
I’m making an API with Slim Framework and when I test the answer with Postman everything works very well, but when I put it on the server and tried to make an ajax call to test I got the error…
-
1
votes0
answers88
viewsRoute is not being located on my site, but works on localhost
I have a service, with verbs GET and PUT. On localhost is ok, but when I host on my site I get this mistake, only when I call the PUT: IIS 7.5 Detailed Error - 404.6 - Not Found According to the…
-
1
votes1
answer47
viewsHow to get value returned from Get using Volley on android
In case I want to know how to get only the GET value of the link ".../posses_cadastro" to enter If or Else. public class LoginRequest extends StringRequest { private static final String…
-
1
votes0
answers72
viewsError while consuming REST service. Attribute exists
Does anyone know the reason for the error below, when trying to access consume a webservice? It was working normal, and started to present this error. I already did Refresh in the classes, there was…
-
1
votes4
answers1576
viewsPOST API Rest JSON
I have a form in HTML which should send data to a server in format JSON. How I format this input data and send to a Rest API the JSON data the way I described below? In my view I need to do a POST,…
-
1
votes0
answers328
views -
1
votes1
answer310
viewsError while trying to delete with DELETE method using web service Rest in Java
I created a Web Service REST in Java. All operations are working except that of DELETE which returns the following error: HTTP DELETE method: @DELETE @Path("excluir/{idpromocao}") public void…
-
1
votes1
answer204
viewsHow to map REST request response
I am consuming a REST API with RestTemplate and it does not follow good practices, such as using HTTP status codes, for example. Response in case of success: { "435": { "Codigo": "435", "Tipo": "",…
-
1
votes0
answers833
viewsError consuming JSON: "json Parsing error value <!doctype of type java.lang.string cannot be converted to jsonobject"
I’m trying to consume a JSON in my application. I created a Splashscreen and in it I am trying to download the data from the file JSON and send to my Masteractivity, where, then, I’m going to build…
-
1
votes1
answer544
viewsBasic Authentication in Webservice Rest C#
good afternoon!! I’m implementing a Webservice Rest but I’m not able to call the Basicauthentication method another class. [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json,…
-
1
votes1
answer1367
viewsInstallation of dependencies on npm start but not finish
I’m taking a course and accompanying a book of Nodejs. In the book I am asked to install the *Express and Babel, already in the course ask to install dependencies of an application that they make…
-
1
votes1
answer64
viewsCreate nuget package from a REST web API application
I have a WEB API REST service in ASP.NET CORE 2.0 multiple projects(layers) in it. However, by larger forces, it cannot be used as a service. It was then suggested to create a nuget package for this…
-
1
votes1
answer593
viewsCURL PHP request for a WEB Service
Good morning to you all. Guys, I’m having a problem communicating with the web service of a third-party company here where I work. Explaining above, I need to send a report of transactions with…
-
1
votes0
answers1123
viewsSend JSON Javascript post method
I have a Restful API written in Java, which has implemented GET and POST methods, tested the methods with the Postman application and are working. Follows the class Filter @Override public void…
-
1
votes1
answer576
viewsError 404 apache Tomcat
I am new to web services, however lately I have taken to develop mine, however I can’t even do a hello world due to an error that Tomcat is returning me, it just doesn’t find the URL, can help me?…
-
1
votes1
answer201
viewsDelphi module for Apache 32 bit error
I’m using Apache to upload a Rest server made in Delphi, when I use the module in Delphi in the 32-bit version, I put it in the modules folder of Apache and the run simply gives error and does not…
-
1
votes1
answer269
views3 new user post questions with spring boot
am having the following questions when saving a user in an api using spring boot. 1)The best way to check if the email already exists is this? 2)in case I am sending the id of the user that has just…
-
1
votes1
answer167
viewsJPQL Not recognizing the parameter
I need to perform a query using JPQL or Spring-data keyword method. The problem is that the parameter inserted in the query is being ignored, I still could not identify the cause of it. Since the…
-
1
votes2
answers391
viewsconsumptionwebservice Rest returns: No 'Access-Control-Allow-Origin'
Prazados, I have a problem to consume a third party Webservice, when trying to find the same by java script the return I receive is: Xmlhttprequest cannot load…
-
1
votes1
answer490
viewsHow to check JWT on each request
I’m doing a login system on php and trying to authorize with JWT. I’m not using any library, I made a class called Jwt that I pass the vestments and Token and also step the token and returns me an…
-
1
votes0
answers404
viewsJaspersoft - Date Format
Hello, We have the following version of Jaspersoft: <serverInfo> <build>BUILD_DATE_STAMP_BUILD_TIME_STAMP</build> <dateFormatPattern>yyyy-MM-dd</dateFormatPattern>…
-
1
votes1
answer171
viewsGET Woocommerce Request with Criterion by Date - restSharp
People I’m doing an integration with C# and the Woocommerce API, my situation is the following, I can communicate with the API through restSharp and I can fetch the site requests through the access…
-
1
votes2
answers364
viewsControl of Rest application transactions in spring
I was studying a little bit on the note @Transactional (version made by Spring), and I came up with a doubt. According to a published in Devmedia, to "more correct form" to use is to write down in…
-
1
votes1
answer403
viewsError while accessing route released with Spring boot
Good afternoon I am having a problem in releasing routes for my application made with Spring boot. The problem is that the "/home" main route asks for the JWT token to access it, but it is…