Steering API: Sending a note (POST) returns status code 200 but nothing gets stored in the database
As I'm currently working on the synchronization of the old Radio Orange backend with the new Steering backend I stumbled across the following issue: When trying to send a timeslot note, using a POST
request (see: https://app.swaggerhub.com/apis/AURA-steering/steering-api/1.0.0#/notes/notes_create) I get a status code 200
as result, yet nothing is stored in the database (documentation says the request should return code 201
on success but, well...).
So, here's an example note that I'm sending:
"cba_id": null,
"content": "Der Roman \u201eGeheimnis und Gewalt\u201c von Georg K. Glaser (1910-1995) erz\u00e4hlt eine Lebensgeschichte, die an Wucht kaum zu \u00fcberbieten ist. Das Buch handelt von den Verh\u00e4ltnissen in der Weimarer Republik. Es geht um die Landstra\u00dfe und das Vagabundentum, um anarchistische und kommunistische Jugendrguppen, um den Aufstieg und die Herrschaft der Nationalsozialisten, um Widerstand, Krieg und Kriegsgefangenschaft. \u201eGeheimnis und Gewalt\u201c ist auch ein Dokument vom Scheitern des Kommunismus im 20. Jahrhundert. Wer im 21. Jahrhundert am Gedanken des Kommunismus festhalten m\u00f6chte, sollte dieses Dokument zur Kenntnis nehmen. Eine Radiosendung mit dem Literaturwissenschaftler und Glaser-Herausgeber Michael Rohrwasser.",
"height": null,
"host": null,
"id": null,
"image": null,
"links": [],
"ppoi": null,
"show": 726,
"slug": null,
"start": null,
"status": null,
"summary": null,
"thumbnails": null,
"timeslot": 17070,
"title": "Georg K. Glaser",
"user": null,
"width": null
}
... and that's the result:
result.status_code: 200
result.text: []
Edited by Stefan Nussbaumer