Bee Sprout
Posts: 0
Joined: Wed Apr 03, 2013 6:44 pm

How to map request parameters on a "/" based api?

I am trying to use this api, but cant map request parameters when adding the service, if I enter the entire content in the settings area it works.

Request URL works:

http://www.mypistevo.com/public/searc...

How can I use these parameters on the tool if they are separated by "/" instead of = signs?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to map request parameters on a "/" based api?

Try setting them directly in the URL. For example:

param1/{value1}

then define a request parameter in Request tab:

value1 = Hello

Bee Sprout
Posts: 0
Joined: Wed Apr 03, 2013 6:44 pm

How to map request parameters on a "/" based api?

is tis what you meant?

On the adding service area.

Request URL: http://www.mypistevo.com/public/searc...

I did this and set the parameters on test area as fname = jose .. etc, didnt work. Any other ideas ? :)

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to map request parameters on a "/" based api?

Can you attach screens shot of how you defined the service in Appery.io?

Bee Sprout
Posts: 0
Joined: Wed Apr 03, 2013 6:44 pm

How to map request parameters on a "/" based api?

Fo some reason I went back to normal setup and it worked !

Return to “Issues”