shotvibe / shotvibe-web

ShotVibe REST API webservice
1 stars 0 forks source link

POST method for the user to set his nickname #61

Closed benny-shotvibe closed 10 years ago

benny-shotvibe commented 10 years ago

We already have PATCH /users/{uid}/ for allowing the user to set his nickname.

Unfortunately, the Android http library cannot make PATCH http requests, so we need an additional method that works using POST.

prudnikov commented 10 years ago

Android should send POST request with X-HTTP-Method-Override https://www.google.cz/search?q=x-http-method-override&oq=X-HTTP&aqs=chrome.2.69i57j69i65j0l3.3218j0j1&sourceid=chrome&ie=UTF-8

benny-shotvibe commented 10 years ago

Yep, you are absolutely right