IceKhan13/purplecaffeine

Client: ApiBackend implementation

IceKhan13 opened this issue · 3 comments

Implement ApiBackend which will be backend for storing trials data.

Epic #2

This gonna be very similar to #9, main difference gonna be, except of a .json file the data need to be send as payload to the API.

curl_req = requests.post(url, headers=headers, json=data)

Same for the reading part.

Questions : What do we want to read from the API ? (Endpoint ?)

  • Everything, always
  • Only tittle
  • Only get everything from 1 id
  • ...