Page 1 of 1

API Express - possible issue with rest Header Parameters passing

Posted: Wed Sep 13, 2017 1:44 pm
by Andy Parker

I have setup a simple API that takes the data passed in the body of a call to it, and uses a REST service to then store that data.

If I tap "Generate" to generate a service response for the REST call, not all of the Header parameters are transferred to the screen.

The problem header is an object, and an example of the formatt is below:

Name Value

-------- --------

KLmeta-data {"parent_id":"aldhsghlkhgdfdhglhlsdfdf","name":"apiexpress.txt"}

When the "Generate Service Response" screen is shown, the KLmeta-data header's value is only a { instead of the full string, and fails if I run it.
If I correct it and enter the full header again, it runs correctly.

Also, the API returns an error when I try to run it, despite this working when I correct the header value, could this error be a bug ?

I have even tried to add a key with the information in, and the same happens, please see screenshots below Image


API Express - possible issue with rest Header Parameters passing

Posted: Wed Sep 13, 2017 3:32 pm
by Serhii Kulibaba

Hello Andy,

Could you show us how exactly did you define the parameter "KEYS"? Please send us screen shots of this implementation so we can better understand what is happening.

It seems an issue with quotation marks. Please check does it work with a single mark instead of double?


API Express - possible issue with rest Header Parameters passing

Posted: Wed Sep 13, 2017 5:23 pm
by Andy Parker

I've tried it with single quotes, it accepts this but then the service call fails, so something treats them differently to double quotes.

I have tried entering the definition directly as well, same problem.

Below is the key definition:
Image


API Express - possible issue with rest Header Parameters passing

Posted: Mon Sep 18, 2017 9:59 am
by Andy Parker

Any updates with this please?
It's stopping progress with the app.

thanks

Andy


API Express - possible issue with rest Header Parameters passing

Posted: Mon Sep 18, 2017 7:52 pm
by Illya Stepanov

Hi Andy, we have forward this issue to our API Express team for review and waiting for the conclusion from them. I'll ping them once again.


API Express - possible issue with rest Header Parameters passing

Posted: Mon Sep 25, 2017 8:37 am
by Andy Parker

Hi Illya,

Do we have an ETA for a fix from the API Express team?
I need to set expectations with a client.

thanks

Andy


API Express - possible issue with rest Header Parameters passing

Posted: Tue Sep 26, 2017 2:41 pm
by Andy Parker

Do we have an ETA for a fix from the API Express team?
I need to set expectations with a client.

thanks

Andy


API Express - possible issue with rest Header Parameters passing

Posted: Fri Sep 29, 2017 3:40 pm
by Galyna Abramovych

Hello Andy,

I am glad to be able to inform you that the issue has already been fixed and is now being tested before we could introduce it during our next release.


API Express - possible issue with rest Header Parameters passing

Posted: Sat Sep 30, 2017 11:15 am
by Andy Parker

Many thanks for the update, much appreciated.