You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #3 we have 2 ways to handle parameters:
Method
Endpoint
DELETE
?do=api&q=/links/Shsmbw
POST
?do=api&q=/links
GET
?do=api&q=/links&limit=20
or
Method
Endpoint
DELETE
?do=api&request=links¶m=Shsmbw
POST
?do=api&request=links
GET
?do=api&request=links&limit=20
Optionally we can add URL rewriting for cleaner URL.
The first one requires a bit of work to handle parameters properly, while the second one makes URL rewriting more complex.
EDIT: parameter names are also debatable, but won't be used client side if we add URL rewriting.
EDIT BIS: I forgot the API version, but you get the idea.
The text was updated successfully, but these errors were encountered:
As discussed in #3 we have 2 ways to handle parameters:
or
Optionally we can add URL rewriting for cleaner URL.
The first one requires a bit of work to handle parameters properly, while the second one makes URL rewriting more complex.
EDIT: parameter names are also debatable, but won't be used client side if we add URL rewriting.
EDIT BIS: I forgot the API version, but you get the idea.
The text was updated successfully, but these errors were encountered: