I'm looking to make a service which I can use to make calls to a web based rest api. I've spent a couple of days looking through stackoverflow.com, reading books and looking at articles whilst playing about with some code and I can't get anything which I'm happy with.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, June 11, 2012
Restful API service
Friday, May 18, 2012
Modify Address Bar URL in AJAX App to Match Current State
I'm writing an AJAX app, but as the user moves through the app, I'd like the URL in the address bar to update despite the lack of page reloads. Basically, I'd like for them to be able to bookmark at any point and thereby return to the current state.
Tuesday, May 15, 2012
New to REST API
basically I have been assigned to build a REST request application in PHP, using a 3rd party REST API. Doing POSTs, GETs etc seems simple, however they have something called an Authorization header which uses a Digest token. How do I pass this via a get?
Wednesday, May 9, 2012
Special characters in REST request
I am developing an API using CodeIgniter, and Phils RESTserver. I am trying to send a POST request containing special characters, but the string is not added to the database.
Tuesday, May 8, 2012
What is an easy way to stub / dummy a restful web service?
I want to create an android application, this application will make RESTful calls to a web service to obtain some data.
Friday, May 4, 2012
How do I fetch a single model in Backbone?
I have a Clock
model in Backbone:
var Clock = Backbone.Model.extend({});
Handling PUT/DELETE arguments in PHP
I am working on my REST client library for CodeIgniter and I am struggling to work out how to send PUT and DELETE arguments in PHP.
Wednesday, April 25, 2012
What are some of the pitfalls/tips one could give for developing a web service
Looking to develop a web service (api) in PHP to offer customers an easier way to integrate with our platform. There are workflow calls that will be validated with user/pass as well as some reporting options.
Thursday, April 19, 2012
Javascript/jquery to download file via POST with JSON data
I have a jquery-based single-page webapp. It communicates with a RESTful web service via AJAX calls.
Thursday, March 8, 2012
Best way to use RestKit in an iPhone Application
I am writing an iPhone application and I have finally decided to use RestKit as the framework for connecting to REST Services.
Monday, March 5, 2012
android device to backup data on local server
I am working on the android application that would perform functionality and ultimately save the data(Highly Confidential) in a local server, I am a newbie, I need ideas from you people in the shape of steps that i need to follow for the implementation. I cant expose the main main idea but the thing is store the customer data (in the database placed on server) on the server via android tablets, there will be multiple tablets feeding the data in parallel. I will appreciate if someone would suggest the appropriate tutorials (for webservice creation/usage etc)
android device to backup data on local server
I am working on the android application that would perform functionality and ultimately save the data(Highly Confidential) in a local server, I am a newbie, I need ideas from you people in the shape of steps that i need to follow for the implementation. I cant expose the main main idea but the thing is store the customer data (in the database placed on server) on the server via android tablets, there will be multiple tablets feeding the data in parallel. I will appreciate if someone would suggest the appropriate tutorials (for webservice creation/usage etc)
Saturday, February 25, 2012
Working with Neo4J REST API
I have several questions?
How can i query the node by its property? I see only to query by node id.
Tuesday, February 21, 2012
JBOSS 7.1.0 error - Unable to find a public constructor for class org.jboss.resteasy.core.AsynchronousDispatcher
I am trying to migrate my spring MVC based REST application to Jboss 7.1.0. At startup, the Jboss initialisation shows that everything was started up correctly with all war files deployed successfully.
Friday, February 10, 2012
Exception while trying to use jersey and jaxb
The following code:
@POST
@Path("/previous-status/{current}")
@Consumes(MediaType.APPLICATION_XML)
@Produces(MediaType.TEXT_PLAIN)
public String getPreviousStepStatus(@PathParam("current") JAXBElement<WorkflowStep> step) {
WorkflowStep wfStep = step.getValue();
return DBAccessor.getPrevStepStatus(wfStep);
}
Wednesday, February 8, 2012
Is there a RESTful YouTube API for iOS?
I'm trying to access YouTube from within an iOS app, but the iOS SDK is a bit outdated and the source is abysmal. I'm trying to access the playlist of a particular account and show it as part of an app.
Wednesday, January 18, 2012
REST webservice with Android client vs RPC
We are still trying to decide between implementing a REST webservice vs going with RPC. Googles eclipse plugin makes it very easy to create an RPC service which is what the main attraction is for the RPC way. However, a REST service would seem to be easier to modify, IMHO, and would also allow for a future iOS client to connect with little or no rework. One concern I would have and maybe this is a problem with RPC also or indeed any Client-Server model is how do you modify your existing service and allow old clients to still work while allowing new clients to use the new functionality. What I mean is can you point me towards any thing we should look out for when modifying a web service so as not to break existing clients or force them to upgrade. Any links you have that would cover this would be appreciated
Monday, January 16, 2012
HTTP PUT Parameter
I create a rest-webservice with the php framework "tonic". I have a User Class and handle it with the library. According to CRUD i use HTTP_PUT to UPDATE the User: