How to use create API?

Posted under General

I'm trying to write an uploading tool in python for my danbooru clone, and I can't seem to figure out the API.

I read through the API, and tried to do "POST http://myhost:3000/post/create.xml?tags=blah&source=http://someurl HTTP/1.1" but that didn't seem to work (telneting to the port and typing in the command directly)

I also looked through the code for danbooruup and couldn't make sense of it. Can someone give me a simple example I can work with, or point me to the function where the create is made? Also, could I be encountering login issues?

Updated by a moderator

1