I was trying to run sqlmap with method POST but I got this error:
[CRITICAL] no parameter(s) found for testing in the provided data (e.g. GET parameter 'id' in 'www.site.com/index.php?id=1')
even though I have provided the parameter in the request
sqlmap -r variablespatch.txt --dbs --batch --data variable_id

above is the image of the data I have used in the request
I have tried changing formatting also multiple times but it was not working.
sqlmap -r variablespatch.txt --dbs --batch --p variable_id I've tried with this request also
the header format you are using is not correct. you must put the post parameter under two newlines ex :
Accept-Language: en-Us, en;q=0.9
{"variable_id":"tjdm4k1o"