Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API #13

Open
Toflar opened this issue Dec 8, 2011 · 9 comments
Open

REST API #13

Toflar opened this issue Dec 8, 2011 · 9 comments

Comments

@Toflar
Copy link
Contributor

Toflar commented Dec 8, 2011

Develop a REST API so we can support filtering/limit/searching products for the client.

@ghost ghost assigned lindesbs Dec 8, 2011
@lindesbs
Copy link
Contributor

lindesbs commented Dec 8, 2011

Which kind of communication type ?

JSON, XML, SOAP, GET, POST ?

@Toflar
Copy link
Contributor Author

Toflar commented Dec 8, 2011

Request:
GET will do...or maybe POST if we want to filter for a very long string. For the format I think we don't really need to send any data as an XML or so, do we? I think the query string is sufficient.

Response:
The bundles are XML now so I guess this will remain XML...in fact it's the current bundle XML but just only a certain set of results in it :)

@leo-unglaub
Copy link

??? Äh, you mixing the data format and the Protocol. If you develop a REST API over HTTP you ALWAYS have GET, POST, PUT and DELETE. Thats the HTTP REST API. If you use xml or json is a complete different think.

@Toflar
Copy link
Contributor Author

Toflar commented Dec 12, 2011

Nope, I don't :) Personally I don't think we need the possibility to delete bundles yet :)

@leo-unglaub
Copy link

Well, thats the implementation. But REST is post, get, put and delete. There are no other options.

@Toflar
Copy link
Contributor Author

Toflar commented Dec 12, 2011

I know, what do you want to tell us? :D

@leo-unglaub
Copy link

Which kind of communication type ?
JSON, XML, SOAP, GET, POST ?

^ thats the reasion. I was not sure you get the difference between those.

@Toflar
Copy link
Contributor Author

Toflar commented Dec 12, 2011

I know...me neither :D

@lindesbs
Copy link
Contributor

gna gna gna

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants