My backend server is NodeJs / ExpressJs running on Ubuntu 18.04.3 LTS. When I send AJAX GET or POST requests from the front-end (JavaScript) or through POSTMAN, everything works perfectly as expected. However, when I make a POST request using Alamofire in ...
After parsing a JSON file, I was able to obtain a JSON Dictionary. { data = ( { bio = "<null>"; bookmarked = 35; id = 22; "last_seen" = { date = "2017-03-30 14:00:01"; ...
I have posted my question multiple times on stackoverflow, but none of the solutions provided worked for me. So I am summarizing my question here and trying to explain it more clearly. My app is sending a picture to a Python backend for image recognition ...
My current setup involves utilizing two API endpoints, with the second dependent on the result of the first. The initial endpoint is /api/v1/regions/, which provides a JSON list of regions structured like this: { region_id: 1, mayor_id: 9 }, { regi ...
After receiving the JSON response from my server, this is what I found: { "case_details": { "status": "PENDING", "caseNumber": "ARBIT.CASE(C)/1/2017", "party": "COMBITHERM APPARATE-UND ANLAGENBAU GMBH .Vs. COXWELL DOMES ENGINEERS PVT. LTD. & ...
How do I send an array of JSON objects using Alamofire in Swift? The data I need to post is as follows: dataArray = [{ "time": 1, "score": 20, "status": true, "answer": 456 }, { "time": 0, "score": ...
For some reason, my code isn't working as expected and the result is always nil. I have incorporated Alamofire and SwiftyJSON into my code. Here is a snippet: let urlString = "myurl" let params: Parameters = [ "accessProvider": AccessProvider, ...