pschlan / cron-job.org

cron-job.org Open Source project
GNU General Public License v2.0
1.49k stars 253 forks source link

Body missing in POST calls #81

Closed prem911 closed 3 years ago

prem911 commented 3 years ago

Create a cron job with advanced settings. Enable username and password Use POST. Send some body parameters in json format like

{ "key": "Value" }

In the receiver api code, the body is received as empty. However authentication comes in header.

pschlan commented 3 years ago

Cannot reproduce this. Maybe you need to set the Content-Type header to application/json for your framework to actually make use of the post data?

pschlan commented 3 years ago

No feedback yet - please re-open the issue in case you want to add feedback later.