IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

REST API -URL forbidden characters Options · View
Pawel
Posted: Monday, November 18, 2019 6:32:51 AM
Rank: Member

Joined: 10/30/2019
Posts: 15
Location: Poland
Hello,

I have to incorporate a below URL into Web service call settings in mapforce

https://wl-api.mf.gov.pl/api/search/bank-accounts/{bank-accounts}.

Mapforce unfortunately des not allow "-" in the url and proposes a change to

https://wl-api.mf.gov.pl/api/search/bank-accounts/{bank%2Daccounts}

and also proposes change in the parameters for "bank%2Daccounts" but then you can not use this proposed parameter "bank%2Daccounts".

So as you can see I am stuck at this point.


Again any help will be appreciated.

Pawel


Pawel attached the following image(s):
proposition to change param.JPG
parameter error after change.JPG

Pawel
Posted: Tuesday, November 19, 2019 12:39:37 PM
Rank: Member

Joined: 10/30/2019
Posts: 15
Location: Poland
Hello all,

Just a thought. Should I report above case as a bug or support ticket to Altova?

I will wait couple more days to see if any answer appears and them I will probbably do it.

Pawel
that
Posted: Tuesday, November 19, 2019 1:04:17 PM
Rank: Advanced Member

Joined: 6/16/2006
Posts: 486
Location: AT
The name of URL template parameters is never sent to the server, so you can use any name you want, avoiding that bug. For example, use "_" instead of "-".
Pawel
Posted: Tuesday, November 19, 2019 8:28:56 PM
Rank: Member

Joined: 10/30/2019
Posts: 15
Location: Poland
Hello That,

Thank You for your help again, once I have changed the name of the parameter to "bank_accounts" everything started to work nicely.

I appreciate you support me in my Map Force beggining steps.

Pawel.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.