M
M
Max2016-10-24 17:00:19
Java
Max, 2016-10-24 17:00:19

How to send local file to api?

Hello !
Here is a question about working with api,
I write a simple module in java that will send a picture to a side api and receive json in response
, there is a problem, the api receives only the url of the picture as input, I have all the pictures locally!
is it possible to make something like url from a local file? And How ?
Working with windows

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
restb, 2016-10-31
@Maxon4eg92

Hi Max , you can send us your url encoded base64 using the parameter 'image_base64' instead of image_url

M
Max, 2016-10-25
@Maxon4eg92

Pavel Logachev
data:image - tried it doesn't support
I'm thinking about making a host server with images and sending url from the host there !
I don't know if this will work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question