Questions tagged [restful-url]

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

https://en.wikipedia.org/wiki/Representational_state_transfer

1351 questions
0
votes
1 answer

Deeply nested html links in sitemaps / submenus (SEO, semantics Restful)

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…
Chris Visser
  • 1,607
  • 12
  • 24
0
votes
1 answer

Passing generic List to WebApi method through the browser bar

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) { …
Sri Reddy
  • 6,832
  • 20
  • 70
  • 112
0
votes
1 answer

proper data exchange in RESTful way

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…
user1016265
  • 2,307
  • 3
  • 32
  • 49
0
votes
1 answer

Possible to have a dot as separator in an api uri? Like api/Business.Country?

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…
mutatron
  • 563
  • 3
  • 7
  • 19
0
votes
1 answer

When to use parameters in a Restful URL

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…
MMeersseman
  • 2,541
  • 1
  • 13
  • 8
0
votes
1 answer

Write json content to url android

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…
bharath
  • 953
  • 4
  • 17
  • 30
0
votes
1 answer

Laravel RESTful controller method not found

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() { …
thomasjonas
  • 460
  • 1
  • 5
  • 18
0
votes
1 answer

Api URI Design Preference

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…
ozczecho
  • 8,649
  • 8
  • 36
  • 42
0
votes
1 answer

Change backboneJS webservice urls

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…
salgua
  • 698
  • 2
  • 10
  • 22
0
votes
1 answer

how to know port number of emulator android?

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()…
lqg
  • 1
  • 1
0
votes
1 answer

friendly url in ZEND - several users

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…
0
votes
2 answers

How organize asynchronous codes with Dojo?

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…
0
votes
1 answer

calling restful service from different server

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…
user1913611
  • 59
  • 1
  • 7
0
votes
2 answers

Different representations of one resource

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…
0
votes
2 answers

How to get schema information from a RESTful uri?

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.
Skadoosh
  • 2,575
  • 8
  • 40
  • 53