Are the suggestion forms of the API.
Name | Description |
---|---|
suggestion[name] | The suggestion |
suggestion[link] | The link to site with the suggested contents |
suggestion[description] | The description of the suggested contents |
Accept: application/json Content-Type: application/json Host: example.org Cookie:
PUT /v1/suggestions/38
{"suggestion":{"name":"consequatur"}}
curl "https://api.portalmec.c3sl.ufpr.br/v1/suggestions/38" -d '{"suggestion":{"name":"consequatur"}}' -X PUT \ -H "Accept: application/json" \ -H "Content-Type: application/json"
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Content-Type: application/json; charset=utf-8 Vary: Origin ETag: W/"b22a521617baf633ba98cdfc2e924a19" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 5d29d5f3-81e0-4b35-8725-fbeb03537829 X-Runtime: 0.015226 Content-Length: 132
200 OK
[binary data]