ping / instagram_private_api

A Python library to access Instagram's private API.
MIT License
2.94k stars 608 forks source link

Fix current_user 405 error (#312) #379

Open YusufBerki opened 2 years ago

YusufBerki commented 2 years ago

What does this PR do?

It fixes the "405 Method Not Allowed" error caused by sending a request to the current_user endpoint with the POST method. The current_user endpoint only supports the GET method.

Why was this PR needed?

The current_user endpoint is currently unavailable due to the error "405 Method Not Allowed"

What are the relevant issue numbers?

312

Does this PR meet the acceptance criteria?