Part II: Publish a new blog post
2.1. On the same endoint as before, emit a POST request with a payload to publish a new blog post.
You need to send a JSON payload that includes:
title: Python training
body: I am training to the requests module with Python
userId: A user ID for the author (eg., user id 1)
2.2. Check in the response that the publish was successful
This API is public on the Internet, so for safety purposes, even successful requests do not actually modify the database.