tobytwigger / laravel-translate

Supercharged instant translations for any Laravel project.
https://tobytwigger.github.io/laravel-translate
MIT License
6 stars 9 forks source link

Make the _translate API a get request #10

Closed tobytwigger closed 4 years ago

tobytwigger commented 4 years ago

To properly implement request caching for the API, we need _translate to be a GET request.

Change it in the route definition, validate the query string instead of the request input and change the documentation.