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&amp;p2=v2&amp>". 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 &amp; 
>>
>> 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/4e44a696-ed75-400c-97e6-875975583833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to