Intro to my problem
It is one of these nights in which I can bitch endlessly on clean semantic coding in one of my projects. Lets say I have my portfolio in which I want to list the stuff I've learned along the way. The first list contains languages…
Sorry if you think this is a duplicate to this one but it didn't resolve my issue.
I have a WebApi method like:
[AcceptVerbs("GET")]
[ActionName("Search")]
public EmpResults GetSearchResults([FromUri] string country, [FromUri] List depts)
{
…
On server side (RESTful server) what criteria should be the main to decide how to read input arguments, data?
Accept or Content-Type
If 'client' (JS) sends to my RESTful service POST request and data (what should be saved) encoded as usual form…
I've been tasked with making a RESTful api, pretty simple, just serving up a couple of tables. You should be able to lookup countries by either business or consumer, or get info by country or state, for example. The problem is, the syntax requires…
I'm trying to find the best way to make a restful URL when I need to use some complex parameters.
In my original design I needed to create a setting and I used this URL to go to the form to create the new setting:
GET /setting/new
Right now I've…
I have a android requirement of parsing the json content from url and have completed them, now i need to send back the results as json content back to the server url. Searched many previous posts, but most specify how to download and parse json…
I'm having trouble to get my controller to listen to DELETE requests. When I send a DELETE request to /api/players/1 I get a NotFoundHttpException. Here's my routes.php
Route::group(array('prefix' => 'api'), function() {
…
A quick api uri design question. We have resources that belong to our clients. These resources can be edited / viewed / deleted by the client who entered them into our system. The resources can be searched by all clients but access is only granted…
BackboneJS webservice default urls are in this format:
/entities GET fetch entities
/entities/id GET get entity
I have a RESTful webservice that expects url in this format:
/entities?id=n
is there a simple way to force backbone to use this…
I have restful web service. An app android client call restful web service by ajax. I don't know IP address and port of emulator android so register a client address access to restful web service. Plz help me.
Code ajax in app android
function Get()…
How to create an application where you can use URLs like Facebook?
app.dev/username
app.dev/username/pictures
app.dev/username/info
app.dev/username/posts/post_333
app.dev/username/posts/post_333/share
The application has other…
I am creating a webapp with dynamic TABs (data from RESTful) and each TAB has a dgrid, which I get the columns from a RESTful and the rows from a RESTful, as well. I made everything works well with XHR and MemoryStore, but I now need to change from…
Hi All i am working on spring3.0 restful webservice.i am able to invoke my method when i am calling the method from the same server(i.e my weblogic server).but if i want to consume\hit the same method from another server(i.e my jboss server) then it…
When i have a resource, let's say customers/3 which returns the customer object and i want to return this object with different fields, or some other changes (for example let's say i need to have include in customer object also his latest purchase…
Is there a way to get schema information from a RESTful web service? For example, a soap service has WSDL that we can look at and create any proxy classes. I was wondering if there is a way to get that information from a restful web service.