anotherp
Chevereto Member
So I am using a code I found on another thread that I am currently having issues locating.
Here is the code I am using:
And here is the page for the test: http://www.picgur.org/thing.html
When I choose and image and hit upload I get this error:
Not sure what I am doing wrong.
Here is the code I am using:
Code:
<form method="POST" action="http://picgur.org/api/1/upload">
<input type="hidden" name="key" value="0a65553c54cf72127d11281f96518469" />
<input type="file" name="source" />
<input type="submit"></input>
</form>
And here is the page for the test: http://www.picgur.org/thing.html
When I choose and image and hit upload I get this error:
Code:
{"status_code":400,"error":{"message":"Invalid base64 string.","code":120,"context":"Exception"},"status_txt":"Bad Request"}
Not sure what I am doing wrong.