Questions tagged [restful-architecture]

RESTful, or representational state transfer, is a style of software architecture for distributed hypermedia systems such as the World Wide Web.

Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web.

REST attempts to describe architectures that use HTTP or similar protocols by constraining the interface to a set of well-known, standard operations (like GET, POST, PUT, DELETE for HTTP). Here, the focus is on interacting with stateless resources, rather than messages or operations.

1187 questions
-1
votes
1 answer

Passing @FormParam values to a rest service without using an HTML form

We have an existing rest web service that does a certain online transaction. It was created to receive input of @FormParam type. When we call this web service, we initially just passed the values by appending it to the…
-1
votes
2 answers

RESTful application is not working as desired. Throwing null pointer exception

I'm trying to configure simple CRUD application as a RESTful configuration. The application is returning null pointer exception instead of XML output. Does it have to anything with being the database connection? I checked the application and it's…
Hadrian Blackwater
  • 437
  • 2
  • 5
  • 15
-1
votes
1 answer

RESTful routing with ui-router

I'm building a small AngularJS application. I have two views: employeeListView, which shows a list of all the employees, and employeeView, which show details about a specific employee. Each one has a corresponding contorller. I want my app to be…
Alon
  • 10,381
  • 23
  • 88
  • 152
-1
votes
1 answer

specify an action to run via REST API

Just wondering what the best practice is for specifying an endpoint in rest to say "runSomeAction"? I'm aware of the uses for GET,POST,PUT,DELETE operations and using nouns to specify those endpoints, but what is the preferred method for exposing…
weagle08
  • 1,763
  • 1
  • 18
  • 27
-1
votes
1 answer

Can I implement Rest Api in this scenario?

The client is requesting the implementation of an Android App using Rest Api. I implemented the app using Cordova and it has a connection to the company's server using JSON. The server contains various PHP files which will be executed to retrieve…
Carla B
  • 3
  • 2
-1
votes
1 answer

Need a rest call from java

I am making a call to an API as a client. I ma using java to do this. I just need a response for now. I will convert the output later. My code is as follows: String data = "User=admin&Password=1234&Authorization=basic&Keyword=nana"; URL url; try { …
-1
votes
1 answer

apache HttpGet with params

I want to execute this URL: curl -X DELETE -H "Authorization: Basic myToken=" "https://foo.com/iot/developers/apps.json?id=173217639" that deleted 1 object on the server side. import org.apache.http.HttpResponse; import…
Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301
-1
votes
1 answer

Framework Options to consume Rest Services From .Net

I am undertaking some research into Rest Services in .Net and I trying to discover whether Microsoft .Net provides a number of different frameworks for consuming Rest Services and whether each framework has its own pros and cons in the same way Java…
Andy5
  • 2,319
  • 11
  • 45
  • 91
-1
votes
1 answer

Building ASP.Net Web API RESTful Service

How to start learning ASP RESTful services? What do I need to know before start learning RESTful services? Any suggestions will be grateful.
Shehab
  • 95
  • 1
  • 1
  • 7
-1
votes
1 answer

API Architecture for User Accounts

I'm currently developing a side-project, which will consist of a Database, Web API, and then different Apps on top which consume the restful API. I've started thinking about User accounts and how to make these secure. Currently, as a standard, I…
-1
votes
1 answer

API architecture - what to include

I am building a RESTful api for a project at the moment, the API will used for a web application, a mobile application and maybe eventually a desktop application. There are a few instances where emails need to be sent to notify the user of an event…
Udders
  • 6,914
  • 24
  • 102
  • 194
-1
votes
1 answer

RESTFull Architecture HTTP GET & PUT Requests

Could anybody point me to a tutorial, examples or docs about http request, GET, PUT. I need to put & get a JSON package to & from a URL. Cant find much objective-c information about receiving JSONs from a HTTP request. Any help is appreciated.
David Flanagan
  • 373
  • 2
  • 7
  • 19
-1
votes
1 answer

Suggestion required: RESTFUl webservice transform xml to Json

Hi I am new to Java and not sure how to proceed (kindly ignore any typos or my language). Can somebody help me out (just the Idea/how to proceed, dont need any sample code). I am trying to create a Restful Json webservice (using Spring MVC). The…
Ravi
  • 13
  • 2
-1
votes
1 answer

Pass json result to sencha touch

I am new for sencha touch. I need to pass json data by using RESTful architectural .But I dun has any Idea how to start it.Can anyone guild me some example? Btw I am using JACKSON library. Here is my java file - jsonTest.java package…
user998405
  • 1,329
  • 5
  • 41
  • 84
-1
votes
1 answer

RESTful webservice deploy in tomcat server error

I had created simple RESTful service, i had compiled it and created the jar file using the maven, then i added the tomcat 7.0 server to the project and added the project RestfulService using the add and remove, when i try to start the tomcat it…
Gopal
  • 757
  • 3
  • 13
  • 30