Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

rest api for web publishing?

Hi
I thought you guys might have a good recommendation for a service that would allow me to publish web pages via REST. O want to share in app data in html format for social sharing and exposure to web crawlers.

I found a couple of ideas but I am not finding the right thing yet:
wordpress.com does not allow commercial content and is more blog.
blogger.com is google, blog, and has api limits.
Osmek (http://osmek.com/docs) looks like it might work but not sure I need a CMS.

What else is out there that would allow for creating web pages via REST?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

rest api for web publishing?

Those are the services I'd recommend too. You can also check out: http://www.programmableweb.com/ for more APIs.

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

rest api for web publishing?

thanks Max, I have been searching http://www.programmableweb.com but there does not seem to be much to choose from in this area. A couple more for my list include:

BitBalloon, Pen.io, and Prismic.

Osmek looks the most interesting but I am having a little trouble forming a service call to access it to create something for the first time. I am wondering if my appery service is configured correctly or if the problem is on Osmek's end.

http://osmek.com/docs/api-methods#met...
http://osmek.com/docs/api-overview

I am getting the error returned:
"msg":"The variable api_key was not defined"

Basic requirements for creating something include:
api_key
bin_id

I created a rest service like so

Image

and my test (with sample title):
Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

rest api for web publishing?

I'm not familiar with this particular API. I checked the docs and your request looks correct. Send us a curl command that works and we'll help you set it up in Appery.io

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

rest api for web publishing?

hi-
this worked:
code
curl -d
"api_key=xID1nJmXSfveQPUzthWMrqA2VRKkYuC5&section_id=8663&title=CURL Test Title" http://api.osmek.com/create
/code

I changed bin_id to section_id in appery service but still same error

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

rest api for web publishing?

It works when you set the Content Type to: x-www-form-urlencoded

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

rest api for web publishing?

great- thanks for your help!

Return to “Issues”