Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Posting to database via API

We've created an App on Azure which we want to submit data to from another application via the API, we've been using Postman to test Getting and Posting data. The GET works perfectly as does the POST when we set the Content-Type to be form-data or x-www-form-urlencoded the data gets inserted to the database, however if we switch to posting the data in raw json (with Content-type as application/json) we just get a blank record in the database. The data needs to be posted in json because of the application we're connecting to. I've attached the code snippet for the POST request. Has anyone got any suggestions?

1 person has
this problem