RESTful API Question.. by using Curl in commandline

Gogs version : 0.11.91
System : Window server 2016 Datacenter (AWS)
database : mysql

Hi! I’m trying to use RESTful API, Add Team membership function…
(docs-api link)

Used like this.

curl -H “Content-Type: application/json” -H “Authorization: token 49289d2cbe69b8dcbc74cdbfa77a52c319ad31fe” -X PUT “http://localhost:3000/api/v1/orgs/CDE-6666/members/mh.noh

maybe my curl command is wrong… It didnt working T_T
but I don’t know how to fix it…
Please help me…

Hi, I think I’ve answered on the GitHub issue thread :slight_smile:

Thank you so much! It was perfectly working!