Questions tagged as 'restful'

0
answers

Web service restful + common java project

I have the following problem, I have a test web service created in a separate project (I) in eclipse and another java (II) project (Drools). How do I make the two communicate in different projects? I have tried the Build Path - > Project...
asked by 25.10.2015 / 04:03
0
answers

Restful resteasy - Client (ava.lang.NoSuchMethodError)

I'm trying to access a WebService Code: public void testeWSRestful() { Client client = ClientBuilder.newBuilder().build(); WebTarget target = client.target("http://localhost:8080/teste"); Response response = target.request().g...
asked by 21.08.2015 / 20:24
1
answer

WCF service hosting with endpoint creation?

I noticed that when executing a project of type Rest when open the interface, open the internet browser it lists all the contents of the folder, being necessary to select the ".svc" when executed the ".svc" and open a screen of WCF Test Client,...
asked by 25.05.2015 / 16:37
1
answer

JavaFX WebView does not receive 200 messages from AJAX

I'm using the Restlet library that allows you to use RESTful services without needing an external server. WebView and Browser code: public class View extends Application { public static void begin(String args[]) { launch(args); } publi...
asked by 11.12.2014 / 12:23
2
answers

Restuful server instance on tomcat

Staff developed an app - link I'm using a restfull server connection with the postgree database in hibernate. This server is hosted in bitname on a tomcat, but sometimes for some reason it drops and it is necessary to restart the server...
asked by 05.11.2015 / 19:32
5
answers

Form submission via AJAX, method PUT

Problem: I am trying to send a form with ajax via PUT, but it is returning the following message in the chrome console: PUT http://intranet.dev/%7B%7B%20URL::to('upload/'.Auth::user()-%3Eid)%20%7D%7D 403 (Forbidden) Script: Follo...
asked by 30.01.2014 / 13:42
1
answer

Null Exception when importing service in controller res

In the example below, I'm trying to do a RestFul Service by completely separating the @RestController, @Service, and @Repository. But I have a difficulty, because when I try to use the service inside the controller, the instance is always NULL,...
asked by 25.04.2018 / 16:49
1
answer

Getting JSON user data by jquery

I have a json that I'm running through json-server and it's at: link Within it, it has a scope of "users", which I would like to take. I have the following script I put together, it follows: $.getJSON(urlParam, function (data) {...
asked by 11.05.2018 / 19:38
1
answer

How to consume RESTFul API data? [closed]

I watched some video lessons about RESTFul and did one in Laravel 5.4. Now I would like to use a template that I have done in HTML5 + Bootstrap 3 to consume this data, where do I start? What do I need to do?     
asked by 21.06.2017 / 22:07
1
answer

Parameter in the page URL

Sorry, I need to create a pyramid application to use the API . 1 - "/ quotes / < quote_number > "- Display page containing the quote returned by the API corresponding to < quote_number >. I already know how to create a statistical p...
asked by 10.09.2017 / 05:49