thecolorblue / moltin.node.js

node.js moltin library.
5 stars 3 forks source link

Create Category #1

Open dafinley opened 9 years ago

dafinley commented 9 years ago

Great API! Trying to figure out to use it to create a category...any clues? https://github.com/thecolorblue/moltin.node.js/blob/master/src/features/category.coffee

dafinley commented 9 years ago

When in doubt look at the docs:

http://docs.molt.in/#category_post-category

return @m.Request 'category', 'POST', terms, callback, error

thecolorblue commented 9 years ago

@dafinley, did you get it to work? If you create a pull request I can update the library to support creating categories.

dafinley commented 9 years ago

I got it to work man. Just gotta wrap up this busy week, but I'll create a pull request next week. Thanks for the work you did.