Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
I try to use POST request on Postman and i create this request:
POST http://…/(Public function into enter)
i use Body-> form-data and i try this:
param1:SyncOut
param2: filename.json (i change text in file and choose file how value, i modify settings of working directory of file)
param3:Risposta di conferma di avvenuta sincronizzazione
but the response of file in console is this:
Content-Type: application/json
Authorization: XXXXXXXXXXXXXXXXX
User-Agent: PostmanRuntime/7.26.10
Accept: /
Postman-Token: XXXXXXXXXXXXXXXXXX
Host: localhost
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 16525
Request Body
param1: “SyncOut”
param2: undefined
param3: “Risposta di conferma di avvenuta sincronizzazione”
structure of my json file is like this:
{“mf_db”:[{“NUMERO_REC”:“7676”,
“CODICE_REG”:“SYNCUT”,
“PASSWR_REG”:“SYNCUT”,
“USFLAG_REG”:"",
“SOCIETA”:“1SYNCOUT MAX1”}]
}
and when i try to see json file is empty.
whatis the problem with send json file?
What am I doing wrong or forgetting?