Closed ahbe closed 8 months ago
If json.dumps doesn't work, please check your server side logic. And please check whether your server side accept application/json
data but not application/x-www-form-urlencoded
Close for long time silence. If you have any problem, please submit a new one.
When using do_service_async to communicate a POST call to another service that requires a JSON data I always get a 422 Unpro cessable Entity error
data = {"image":"path_image_str"}
I've tried using json.dumps but it yield another error : res was used before being assigned