I am having difficulty using the API to create/upload a post, specifically I am having trouble with the post[file] field.
If I use post[source] and point it to an image hosted somewhere, it works fine. But I want to upload it directly.
The server returns an error code of 500.
How can I solve this problem?
Updated