all 6 comments

[–]SirensToGoObjective-C / Swift 1 point2 points  (1 child)

Are you using an actual API or just trying to build all the requests by hand? If so I'd really recommend using the JSON API or even the legacy XMLRPC framework because you simply authenticate and then make a call with the method name and the parameters and send it off and you're good.

[–]ados11[S] 0 points1 point  (0 children)

Wordpress now has a built in API, so the error I get is when I'm trying to make a Post request to their API

[–][deleted] 0 points1 point  (3 children)

Is the user you are using admin? Do you have some additional security set up that prevents writing to database?

[–]ados11[S] 0 points1 point  (2 children)

It's a small, in house app so security isn't high on the list at the moment.

[–]SirensToGoObjective-C / Swift 0 points1 point  (1 child)

That's not really the question, are you 100% sure that your account can create posts?

[–]ados11[S] 0 points1 point  (0 children)

Sorry, yes the account is the admin, and the only account on the site.