-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
[Search] Handle slash in string query #152
Comments
Hi, I would suggest URL Encoding the query like so: https://api.jikan.moe/search/anime/fate%2Fzero Meanwhile, you could search by |
Upon further checking, it's not possible to allow slashes in the current URL structure. This is an issue that originates from the router, Lumen/Laravel, itself that I'm using for the REST API. Albeit, I've gone ahead and pushed a fix for this. You can request anything with slashes by URL/Percent Encoding by assigning a value to the Note, this won't work by the default structure for pagination. So you'll have to use |
Just tried, and it works perfectly ! Thank you for your very quick fix. |
You're welcome! |
Hello,
Is there any way to use a query string that contains slash ?
Example : https://api.jikan.moe/search/anime/Fate/Zero
If there isn't, would it be possible to handle them ?
The text was updated successfully, but these errors were encountered: