I have Python script, that works fine

```
def register():
url = prime_url + '/v2/mobile/user/register?lang=ru'
payload = {
            'email' : 'test@test.test.mail.com',
            'deviceId' : 'testId',
            'password' : 'Test1234'
}
response = requests.post(url, data = payload)
print(response.text)

```

Response:

> 
> {"success":true,"data":"SUCCESS\_FIRST\_STAGE\_REGISTER","params":"Two-factor authentication code sent to test@testtest.test.mail.com","code":200,"runTime":2.391624927520752}
> 
> 
> 

I wrote code on Golang:

```
func postRequest(target string, params string) {
var jsonStr = []byte(`{"email":"testtestetetsees@mail.ru", "deviceId":"ftefst891", "password":"qwertyQwerty132"}`)

req, err := http.NewRequest("POST", target, bytes.NewBuffer(jsonStr))
if err != nil {
    log.Fatalln(err)
}

req.Header.Set("Content-Type", "application/x-www-form-urlencoded")

client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
    log.Fatalln(err)
}
defer resp.Body.Close()

var result map[string]interface{}
json.NewDecoder(resp.Body).Decode(&result)
fmt.Println(result)
}

```

Response:

> 
> map[code:400 data:ERROR\_VALIDATE params:map[deviceId:[Device Id cannot be blank.] email:[Email cannot be blank.] password:[Password cannot be blank.]] runTime:0.023465871810913086 success:false]
> 
> 
> 

I see that problem is by sending JSON string. What should I do?