Report Sevhe's Profile

Statistics

All Anime Stats Anime Stats
Days: 2.4
Mean Score: 0.00
  • Total Entries1
  • Rewatched0
  • Episodes148
Anime History Last Anime Updates
Hunter x Hunter (2011)
Hunter x Hunter (2011)
Oct 17, 2021 4:55 PM
Watching 148/148 · Scored -
All Manga Stats Manga Stats
Days: 0.0
Mean Score: 0.00
  • Total Entries0
  • Reread0
  • Chapters0
  • Volumes0
Manga History Last Manga Updates

No updates yet.

All Favorites Favorites

All Comments (1) Comments

Would you like to post a comment? Please login or sign up first!
ZeroCrystal Oct 17, 2021 7:07 AM
Hi! There're a few things that seem to be wrong. First, it must be a POST request but you're using the GET method. Second, both the Client ID and Secret are missing. Third, to form-URL encode the parameters, you should write something like this (the header is automatically added):

$response = Http::asForm()->post('https://myanimelist.net/v1/oauth2/token', [
    'client_id' => 'XXX',
    'client_secret' => 'XXX',
    'grant_type' => 'refresh_token',
    'refresh_token' => 'XXX',
]);

Let me know if you're still having trouble with this.
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login