You are not logged in. Please login at www.codechef.com to post your questions!

×

Add Set API not working

Api for set add, and add user in a set are giving the following response:

{ "status": "OK", "result": { "data": { "code": 9000, "message": "parameters are missing" } } }

asked 05 Sep, 11:33

scoobybutter's gravatar image

5★scoobybutter
111
accept rate: 0%


@scoobybutter, this is the request format for making an add set request:

curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" --header "Authorization: Bearer 9b86a1ffc0b8c38oooe07a2b665fe8fb059af790" -d '{ "setName": "Friends", "description": "contains a list of all my friends"}' "https://api.codechef.com/sets/add"

link

answered 05 Sep, 15:02

shivangi_gupta's gravatar image

2★shivangi_gupta
1954
accept rate: 16%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×2,282
×115

question asked: 05 Sep, 11:33

question was seen: 73 times

last updated: 05 Sep, 15:01