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
-
0
votes1
answer955
viewsHow to organize the REST API and website frontend?
I am creating a Single Page Application site, for this, I created a Restful API on Node.js that does all the actions in the database, login, sending emails and etc. I thought of creating a "public"…
-
0
votes1
answer23
viewsSelect manual in repository using Spring?
Hello, I wonder if there is a way to make a select within the Repository, I’m using Spring and REST, I need to return all entities that have another entity, I would take them by id, and I need to…
-
0
votes1
answer395
viewsIs there any way to keep the user logged in to a webapp
I wonder if it is possible to keep a user logged in with webapp using webview. If yes which one will be the right way.
-
0
votes1
answer29
viewsDoubt technology for building Webapi Rest in Java
I am posting this topic to check from your experience which technology you are using to build Webapi Rest in java. What libraries? What techniques? What advantages and disadvantages of technology. I…
-
0
votes1
answer266
viewsHow to get issues through the Redmine REST API
Using the API of Redmine using the wrapper of Kevin Saliou, I’m trying to get the issues of a particular project but is not being returned correctly, both issues open as to the closed are incorrect.…
-
0
votes1
answer418
viewsDelphi/Sendgrid integration
I’m trying to integrate a Delphi application with SendGrid. To configure the request I am using the RESTDebugger. I inform the Header Authorization="Bearer" + [minha chave] Content-Type =…
-
0
votes1
answer230
viewsFacebook Login with REST API
I integrated an Android app with Facebook and can already login there. Now, I have to integrate that Facebook login with the authentication part of my API. For example, now, what I can do is log in…
-
0
votes0
answers248
viewsHow to Install API REST?
Is it good practice to use our API’s? ex: (http://localhost/api/v1/Resources) If so, what best practice is there for you? I’m using Apache server with Silex PHP micro framework, could I create a…
-
0
votes1
answer426
viewsAjax REST: PUT/DELETE does not work
I have 2 applications: 1) a Rest API on an XPTO server (Using Laravel 5.1), which has: ->header('Access-Control-Allow-Origin', '*.xpto.com.br') ->header('Access-Control-Allow-Credentials',…
-
0
votes1
answer50
viewsIs it possible to change the json file format?
I have a code that generates me a Json file in this format: [ { "$id": "1", "poule": 73, "idusuario": 4, "vendedor": "ITAMAR SOUZA", "total": 50.00, "datajogo": "2016-01-19T00:00:00", "terminal":…
-
0
votes1
answer704
views -
0
votes2
answers354
views -
0
votes1
answer801
viewscapture JSON object sent via POST in Mormot’s request payload
I’m sent my object JSON via POST using the ExtJS 6.01. my application server was done in morMot in the Delphi Seattle. Sending in mode GET I usually take the parameters that come by url. But sending…
-
0
votes0
answers174
viewsDoubt when generating REST of return of Procedure in jersey
I have a method where his return is a list, based on an execution of a trial in the bank StoredProcedureQuery spq = em.createStoredProcedureQuery("PROCEDURE"); .... The return of this query are some…
-
0
votes1
answer1349
viewsHow to consume 4shared REST API using PHP?
I tried every way to use this new 4SHARED API, both with Curl and file_get_contents and cannot authenticate! 4shared has not released any class equal twitter and facebook disponibilza and I’m having…
-
0
votes0
answers65
viewsAPI Rest returning 405 php
I am running the following code: <?php $data_string['MerchantOrderId'] = "2014111703"; $data_string['Customer']['Name'] = "Comprador Teste"; $data_string['Payment']['Type'] = "CreditCard";…
-
0
votes0
answers79
viewsWhat procedures should be adopted to implement the semantic interoperability of a REST Web Service?
Semantic interoperability is something optional in the REST standard, there are no rules defined as occurs in SOAP with WSDL - for example, but I understand that in REST it is important to keep it…
restasked 7 years, 10 months ago Filipe Moraes 8,737 -
0
votes0
answers312
viewsEmpty PHP API request page
I’m trying to make a request for the url: http://api.olhovivo.sptrans.com.br/v0/Login/Autenticar?token=XXXX and the response if token valid should be true. I’ve tried several ways using Curl and…
-
0
votes1
answer686
viewsHow to return status code from Java Resteasy request
It’s quite intuitive to make a return of the API with an object or something like that, only you would like to make the return of an object along with the status code of the request. @Override @GET…
-
0
votes0
answers51
viewsUse of framework in java web project
I have a java project that runs services (SOAP/REST) and we have a framework that supports this, generates report, makes REST calls and so on, and I also have a java web project (Javaee) that…
-
0
votes1
answer137
viewsI can’t find my GET method path in Webservice Rest
@Path("webservice") public class WebService { private CriancaDAO criancaDAO = new CriancaDAO(); @GET @Path("getCriancaTodasCriancas/{idCrianca}") @Produces(MediaType.APPLICATION_JSON) public…
-
0
votes1
answer2168
viewsWhat is a Rest API for front and backend communication?
I couldn’t understand what a Rest API is for front and backend communication
-
0
votes1
answer241
viewsWhat is the best way to integrate Laravel with angular 2?
I know how to create an application using Laravel, and I also know how to create an application using Angular 2/4. But how to integrate the 2 ? would be just creating an Laravel API and another…
-
0
votes0
answers275
viewsinserting data into web api
I have a SPA application and it consumes a REST API made in ASP.NET Webapi. When trying to accomplish a Insert in the API, the following error is returned: Response for preflight has invalid HTTP…
-
0
votes2
answers228
viewsCreate bi-directional relationship without using DTO?
Hello, I’m on a project and I need to do bidirectional relationship between two entities, the relationship is @OneToMany @ManyToOne, so far so good. But I wonder if there is any way to do it without…
-
0
votes1
answer1064
viewsConsuming REST in Wordpress
Good morning! I implemented a Rest API with Spring and would like to consume it on a site within Wordpress. This is done through Plugins or direct with code within the Post? For a Post Request, how…
-
0
votes0
answers129
viewsAPI in existing system database
I am with a doubt, in our company we have a system, developed in Mysql and Delphi, this system is developed by a company, and we are with several development projects, several new systems (created…
-
0
votes0
answers39
viewsProblems with Pouchdb access
Using Pouchdb with a REST API to replicate.to? Next, I follow the simple example of Pouchdb: bancolocal = new PouchDB('http://192.168.1.100:5984/bancoexterno'); The problem is when I run the…
-
0
votes2
answers1178
viewsHow to define Enumeration in JSON
I have the following enumeration on XSD for a WSDL <xsd:simpleType name="tipoDocumento"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="INICIAL"/> <xsd:enumeration…
-
0
votes1
answer228
viewsError in API Rest POST - Windows Forms
I’m trying to register (POST) this endpoint https://geradornf-prod.herokuapp.com/ (is a Simple API I made with Django Rest) I’m using Windows Forms C# Follow the call: using (var client = new…
-
0
votes1
answer157
viewsHow to use Fosoauthserverbundle authentication?
I followed a tutorial to configure the authentication via Rest using Basic Symfony 2, Fosrestbundle, Fosuserbundle and Fosoauthserverbundle perfectly worked, even if someone has any questions in…
-
0
votes1
answer2646
viewsConsume REST windows Forms
I’m trying to consume a REST JSON, I’m developing a module for a legacy system in Windows Forms, it’s not working, nothing returns. Follows the code: var client = new…
-
0
votes1
answer395
viewsValidate log data (spring-boot + Angularjs)
Hello, I am implementing a web project in spring boot + data + Angularjs. Where the client makes Rest requests to the server. On the Spring side I’m using repositories to develop database research…
-
0
votes1
answer199
viewsXML SOAP -> WEBSERVICE REST
I wonder if it is possible to send an xml in the SOAP pattern to an "endpoint" in REST? Or if the best way would be to create Webservice in SOAP so as not to mix the protocols? I ask this, because…
-
0
votes1
answer498
viewsSerialization Localdatetime
I am trying to serialize an object that has a date with the Localdatetime class using Spring Boot, but the following error: 2016-10-09 18:28:26.218 WARN 17395 --- [ XNIO-2 task-2]…
-
0
votes0
answers52
viewsRest API Returning Token
I need to develop an application in Swift I’m trying to consume a API to log in and when to log in Token, but this Token is already existing in the API, would you like to know how I send it? It’s…
-
0
votes2
answers219
viewsService to pick up a change in the bank
Here’s what I need. As I do for a service to auto startar whenever the flag of the bank changes from 0 leg 1. I have a field in a table in the BD(Sql Server), that every time the seller request a…
-
0
votes1
answer155
viewsA timer for a service read a table in the comic book
I need to get a service to read a table in the comic book every 5 or 10 seconds. I don’t see any other way to do that. When in this table a certain Flag is changed, then the service pushes a message…
-
0
votes1
answer44
viewsWindows service sharing information with a Rest
Is it possible for a Windows Service to exchange information with a Web Service Rest? If so, is that good practice or not? Why the question? This is what I need to do. When a flag in the bank is…
-
0
votes0
answers113
viewsSend java image to javascript
I’m developing a web service Rest with Spring in Java which provides images to front-end, which calls Java with an ajax event. On the server side I am using java Image. import java.awt.Image; I…
-
0
votes1
answer39
viewsRead XML and create Objects using LINQ in VB.NET
With the following code below: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <escuelas> <escuela> <estudiante>noe</estudiante>…
-
0
votes2
answers736
viewsHow to make an HTTP request in Ruby?
How do I request HTTP in Ruby? I need to implement an API, and for that it is necessary to make a REST request for such a URL, as I do a POST for such a request?
-
0
votes1
answer105
viewsInstall Restsharp in PCL projects Xamarin.Forms
How do I install Restsharp in a PCL project (Xamarin.Forms). You are giving this error when installing: Unable to install 'Restsharp 106.3.0-alpha0002' package. You are trying to install this…
-
0
votes2
answers1159
viewsAPI mercadolivre does not return JSON
When I glue the address https://api.mercadolibre.com/sites/MLB/categories in the browser I see that the restfull API of the free market returns the data in JSON format, but when accessing the same…
-
0
votes1
answer72
viewsRetrieve Bearer Token using a Clientid and Clientsecret
Good morning, I need to make a call on an API, I own Clientid and Clientsecret, but from what I understand, I can make the calls using "Authorization bearer". My question is how I can transform the…
-
0
votes0
answers273
viewsFaster API REST - PHP
Good morning Stack overflow!! Next, I’m doing an integration with my bank Sql server of an APIRest, where I pass the information I want in the URL and receive the content as json, however, I perform…
-
0
votes1
answer174
viewsHow to consume a Multipart form-data method with void method
How to consume a method Multipart/form-date of a web service made in java, by ajax or jquery? Below I leave as this the method: JAVA: @POST @Path("/aprovarCompra") @Consumes("multipart/form-data")…
-
0
votes0
answers354
viewsHow to handle 400 error messages
I work with an application made in Xamarin that sends several requests to the api. Eventually, a user action receives a BAD REQUEST because the user tried to like a photo that she had already liked…
-
0
votes1
answer150
viewsREST/JAVA+ANGULAR2 authentication
I have a java Rest api and need to perform an authentication (login/password). I’m basing myself on this java code that uses Jwt: http://www.totalcross.com/blog/seguranca-com-jwt-e-java/ My question…
-
0
votes2
answers132
viewsRestsharp connected with Firebase but shows no result
I did a job in C# and now I need to connect this service with my bank on Firebase. The following is the method in Library for connection with the Firebase: public static void restAPI() { var client…