I am trying to create post and attach image to wordpress using XMLRPC through Java code. Creating post and pages went out fine but can't find how to attach an image. Please help.

  • through java or javascript? – hwl Aug 7 '17 at 12:00
  • its through java...sorry for the wrong tag – annie Aug 7 '17 at 12:03
  • this and this may be of help regarding xmlrpc – hwl Aug 7 '17 at 12:13
  • 1
    Have you considered using the REST API instead? Much much easier – Tom J Nowell Aug 7 '17 at 12:17
  • 1
    what does it mean "attach"? do you mean upload or something else? – Mark Kaplun Aug 7 '17 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.