I develop iOS App by Objective-C that have function to upload GPX file as GPS trace.

When I used this app at May 4th, this app worked well. But now, the GPX upload function in this app shows 404 error by calling "POST /api/0.6/gpx/create" of OSM API. ( I noticed the error May 20th.) In this period, I didn’t change any source of program.

Did something change on server and API in this period, or nothing? Or please let me know the solution of the error if you know.

Device : iPhone SE, iPhone 6s and iPad OS version : iOS 11.3.1(latest) and 11.1

The function to upload GPX file is used NSURLSession and NSMutableURLRequest(Apple’s standard SDK) to call “POST /api/0.6/gpx/create” of OSM API. I re-compiled this app by latest Xcode but 404 error was still occurred.

asked 29 May '18, 14:53

ao_zeal's gravatar image

ao_zeal
16112
accept rate: 0%


Are you using http: or https: ?

permanent link

answered 29 May '18, 15:01

EdLoach's gravatar image

EdLoach ♦
17.6k14145254
accept rate: 23%

I use http to access API.

(30 May '18, 13:08) ao_zeal
2

My app did well to change http to https!! Thanks so much!

(30 May '18, 13:21) ao_zeal
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×228
×221
×215
×94

question asked: 29 May '18, 14:53

question was seen: 341 times

last updated: 30 May '18, 13:21

powered by OSQA