example for working image post to API