Yes but the problem is that they were using an old api that somehow worked with this type of call and my new api has new REST calls but should work also with the old ws type of calls, so when I did it I had example calls and didn't see they also can use some with & instead of &.
Old api was in php and they didn't have this problem, it seems. To tell them now they have to change the way they did some calls is a bit hard because of political shit. vineri, 1 aprilie 2016, 15:50:27 UTC+2, Zlatko a scris: > > > > On Friday, April 1, 2016 at 8:20:04 AM UTC+2, Adrian Albu wrote: >> >> That is not possible since I have no responsibility on that application, >> belongs to another company and so on... >> >> I know is crap they encode the url so or something but... >> > > It's not crap. They're simply not following your API correctly. > > Your API: > p1: string > p2: string > > Valid call: ?p1=v1&p2=v2. > > From your example (https://localhost:8080/rs?p1=v1&p2=v2&), they > only set p1 parameter, to "v1 > <https://localhost:8080/rs?p1=v1&p2=v2&>". They also set an > "amp;p2" parameter to "v2", and finally, they set an undefined "amp" > parameter. Tell the client to also set the v2 parameter, and your call will > work. > > > > >> >> vineri, 1 aprilie 2016, 06:14:35 UTC+2, ryandesign a scris: >>> >>> >>> On Mar 31, 2016, at 9:12 AM, Adrian Albu wrote: >>> >>> > having built an express REST api got a problem when one of the clients >>> is calling one service with encoding the & to & >>> >>> Fix the client to not do that. >>> >>> >>> >>> -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/fdeaaa22-d9d7-4d7b-b69d-78f6ad2c4409%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
