Title: XML-RPC calls
Last modified: August 18, 2016

---

# XML-RPC calls

 *  DominikSchwind
 * [22 years, 11 months ago](https://wordpress.org/support/topic/xml-rpc-calls/)
 * Hello,
    I’m just trying to write a little XML-RPC client for putting new entries
   into my wordpress-weblog. Now I am using the Meta Weblog API, which works fine,
   except for one problem: I can’t figure out, how to set the category. It always
   put’s the new entry into the 1:General. So far, I tried to put: category: 2, ‘
   int’ or category: ‘xmlrpctest’,’string’ into the struct and neither works. Since
   I also used w.bloggar before and could easily post into categories with that,
   I wonder, what I am missing here. Maybe someone of you friendly folks around 
   here, know how to do that? 🙂 Any help, any hint, even a: “You’re dumb, it works
   this way” would be much appreciated. Dominik

Viewing 1 replies (of 1 total)

 *  [Dougal Campbell](https://wordpress.org/support/users/dougal/)
 * (@dougal)
 * [22 years, 11 months ago](https://wordpress.org/support/topic/xml-rpc-calls/#post-26001)
 * The categories member of the content struct is an array. WordPress currently 
   only supports one category per post, so you will need an array with just one 
   element. The actual element itself should be the **name** of the category.

Viewing 1 replies (of 1 total)

 The topic ‘XML-RPC calls’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 2 participants
 * Last reply from: [Dougal Campbell](https://wordpress.org/support/users/dougal/)
 * Last activity: [22 years, 11 months ago](https://wordpress.org/support/topic/xml-rpc-calls/#post-26001)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
