@Jonathan_Irwin wrote:
Hi there
I am having some major issues after updating to version 2.1. I can only make GET requests.
Any POST or PUT request returns: "No record(s) detected in request." error code 400 - these are the same requests that worked before the update many times.
I get the same error when using an external tool or the API Docs..
All GET requests return as normal.
I am using MySQL as the DreamFactory database and as the service database.
On the API Docs page I get an error: "{"schemaValidationMessages":[{"level":"error","message":"Can't read from file http://api.**********.co.za/api/v2/api_docs"}]}"
I am not sure if this is at all relatedAny help with this would be much appreciated.
edit: I did make a backup of my htdocs before the update however my attempt to go back to it was not fruitful
edit 2: I have now managed to POST to my API again but I am not sure if its working as desired. Before I was able to send the request raw body as:
{
"title": "Test title",
"content": "some content"
}Now I am only able to post if the format is like this:
{
"resource": [
{
"title": "Test tile",
"content": "some content"
}
]
}Is there anything I can do to get the original way to work again? I would like my application to work again before I can make the change throughout... Thanks in advance
Posts: 2
Participants: 1