Atom Publishing troubles

  • Author
  • #491161


    I’m trying to use the Atom Publishing Protocol to interface with my blog, but every time I always get rejected. I’m using cURL to start off with this. Based on what I saw here (, I’ve been using this command to login:

    curl -X POST -v -d "log=username&pwd=password" -c cookies.txt

    Every other URL I’ve tried produces a 404 response code, but for this one, I always get

    > POST /wp-app.php/service HTTP/1.1
    > User-Agent: curl/7.20.1 (i386-pc-win32) libcurl/7.20.1 OpenSSL/0.9.8n zlib/1.2
    > Host:
    > Accept: */*
    > Content-Length: 28
    > Content-Type: application/x-www-form-urlencoded
    < HTTP/1.1 405 Method Not Allowed
    < Server: nginx
    < Date: Thu, 17 Jun 2010 14:59:55 GMT
    < Content-Type: text/html; charset=utf-8
    < Connection: close
    < X-hacker: If you're reading this, you should visit and app
    ly to join the fun, mention this header.
    < Allow: GET
    < Content-Length: 0

    Does anyone know why this isn’t working? Can anyone suggest a good resource to look at? I’m pretty sure I can handle everything that I need as soon as I can authenticate, but I’m having a really hard time figuring that out.

    The blog I need help with is

The topic ‘Atom Publishing troubles’ is closed to new replies.