Hi,
I’m trying to use an API wich require base64 images. Documentation is here : API Documentation – Masala.AI (section “POST mediaratingb”)
I tried several blocks, but the best I get is the API returning me “internal error, plz contact support”, but support is telling me that there is no pb on their side
Precision :
I cannot upload the image and use an URL, for privacy concerns (my app is about testing image with potentially the user naked on it, for NSFW verification).
Place the API address where an address is in the image. Then click on content and place that example JSON from the API website. You will also ask for your API KEY (it happened to me and I didn’t create the KEY). Then click on SEND. The box on the right has the API RETURN options.
errorCode 10, error message : API key is missing
Should I put the API key in headers ??? i don’t understand the doc
I’m truly sorry, I worked with API in python a few times, but it was pretty simple (copy&paste code), here I’m really lost. If I don’t succeed with this API, I will take a lesson about CURL to be able to read the options.
Ok, I’ve done something very inelegant, but it works : I have copied the JS code and used it in the “evaluate” of a WebBrowser sized 0x0 to be invisible.
At least, if we can’t solve the POST issue, I’ve something which is working