I try to upload image to imgur via code but I get 400 Bad Request, why and how can I fix?
|Added at||2016-12-31 19:12|
I try to make a code that uploads automatically image to imgur Here is my code:
I have developer and client id on imgur and I saw their api but I have no idea why it returns 400 bad request all the time... https://api.imgur.com/endpoints/image - here is their api. According to their Upload Image section on the endpoints, base64 data of the picture is enough, so what did I do wrong?
If I forgot to mention something, sorry about it just comment and I will respond. Thank you.