Skip to content

getBlob returning broken image #1843

Discussion options

You must be logged in to vote

I was unable to get curl to work so I went back to using CFML and got it to work. (yay!)

it was all about how the image was being passed

local.imageFile = "E:\test.jpg">
local.imageFile = filereadbinary(local.imageFile) //convert to binary

and then in cfhttp use type="body"

cfhttpparam(type="body" value=local.imageFile)

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@DavidBuchanan314
Comment options

@JayIsPainting
Comment options

@JayIsPainting
Comment options

@JayIsPainting
Comment options

Answer selected by JayIsPainting
Comment options

You must be logged in to vote
1 reply
@jay-elizaga-dev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants