I've been working with the Wordpress api and needed to upload images. So I figured I would add two new actions to our automation that does the same thing. Same requirements as a Rest Call but also takes the path to a file.
This will also set your header fields needed for the upload.
The difference between the two calls is one returns json. Wordpress API returns json, but there could be other API's that doesn't return anything.
Will be in the next update.
You can also upload files through the AddFileMultiPartActivity, but this is a lot easier if the API accepts it.
Thomas
This will also set your header fields needed for the upload.
The difference between the two calls is one returns json. Wordpress API returns json, but there could be other API's that doesn't return anything.
Will be in the next update.
You can also upload files through the AddFileMultiPartActivity, but this is a lot easier if the API accepts it.
Thomas
Last edited: