# API: cannot update user

**URL:** <https://meta.discourse.org/t/api-cannot-update-user/63876>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [June 3, 2017, 9:35am UTC](https://meta.discourse.org/t/api-cannot-update-user/63876 "2017-06-03T09:35:06Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [June 3, 2017, 12:20pm UTC](https://meta.discourse.org/t/api-cannot-update-user/63876/12 "2017-06-03T12:20:25Z")

</div>

Your `Content-Type` is wrong:

Yours: Content-Type: text/html; charset=utf-8  
Mine: Content-Type: application/json; charset=utf-8

Try to use this URL:

`https://disc.uaar.it/users/m.redaelli.json?api_key=***&api_username=m.redaelli`

---

_[View the full topic](https://meta.discourse.org/t/api-cannot-update-user/63876)._
