Send Image using the API in 3.0
Hello, I am just starting to use Bludit on my own blog and I am very interested in using the API to post. Is there any way to send Images using the API? or could I store a image in the folder for images and send the code for inserting it in my post and it will be recognized? I am not sure if bludit can add content uploaded to its folder or the api or the interface should be used in order to have it added to the db.
Thanks in advance. I am really loving bludit.
Thanks in advance. I am really loving bludit.
Hi,
for the moment is not implemented to upload images via the API, but could be a good idea to add it.
You can upload the image to some hosting or your own server and then create the post content with the reference to the image.
Diego
for the moment is not implemented to upload images via the API, but could be a good idea to add it.
You can upload the image to some hosting or your own server and then create the post content with the reference to the image.
Diego
For a better performance of the server is a good idea to upload the images in another server such as a CDN, but could be expensive. Anyway, you can upload the images to some place and then in the content add the link.
You can create the tags, just send the tags separated by a comma. You need to add the field tags.
Take a look the documentation https://docs.bludit.com/en/api/create-a ... ge#request
The content is going to be something like this.
You can create the tags, just send the tags separated by a comma. You need to add the field tags.
Take a look the documentation https://docs.bludit.com/en/api/create-a ... ge#request
The content is going to be something like this.
Code: Select all
{
"token": "<TOKEN>",
"authentication": "<AUTHENTICATION_TOKEN>",
"title": "<PAGE_TITLE>",
"content": "<PAGE_CONTENT>",
"tags": "tag1,tag2,tag3"
}
Hi Diego, what's the best alternative to CDN? Like you said, it can get pricey.
People need to check out Money Mutual because it's amazing.
I use AWS and they provide CDN. But you can search for alternative in Google.
Here there is one with free account. https://cloudinary.com/pricing
Here there is one with free account. https://cloudinary.com/pricing