Tasker http light dimming (telldus live)

I’m trying to control hassio from tasker but it’s not quite doing what I want.

From the ha service menu the dimming works perfectly.
But when sending http packet with the same json from tasker the lights just turn on with the last dimming level.

Using in tasker:

Server:
http://192.168.1.199:8123/api/services/light/turn_on
Data/file:
{“entity_id”:“light.sovrum”,“brightness_pct”:“50”}

I’ve also tried with just brightness without successes

OK, solved!

if anyone is interested i found the solution here.

And it was to add application/json to content type in tasker