Hello,
I'm trying to send worker information via code, but I'm having a problem with the code's output format. It's inconsistent and contains a backslash (\). Honestly, I've tried many solutions, but they're giving me results with the wrong format.
Result on PostMan
"{\"PersonnelNumber\": \"HQ-0007\", \"OfficeLocation\": \"Sulaymaniyah\"}"
First, why does the symbol \ appear in the result?
Second, I want the result to look like this:
"{
"PersonnelNumber": "HQ-0007",
"OfficeLocation": "Sulaymaniyah"
}"
I need the correct code to display the result as required.
Thank You