Hi Érico,

You can store the content in the registry and the use the content via
Payload Factory mediator[1]. You can edit the content of the json every
week via carbon web console without changing the API.

[1] - https://docs.wso2.com/display/EI660/PayloadFactory+Mediator

Regards,
Arunan

On Thu, May 28, 2020 at 5:38 AM Érico <erico...@gmail.com> wrote:

> Hello
>
> Please I need to use (in an API hosted in a EI 6.6.0) the content of a
> json which will change once per week
>
> This json will be sent to me directly through e-mail
>
> I thought I could store this json into a EI property and use it in my API
> payload
>
> Would this be a way out?
>
> If so, how can I set this property? I mean so it can acept an uploaded
> file (the json file itself) through carbon web console?
>
> I'm trying to follow this:
>
> https://docs.wso2.com/display/EI6xx/Working+with+JSON+Message+Payloads#WorkingwithJSONMessagePayloads-AccessingcontentfromJSONpayloads
>
> Thks
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Sugunakumar Arunan*
Software Engineer | WSO2

Email : aru...@wso2.com
Mobile : +94766016272
Web : http://wso2.com
<https://wso2.com/signature>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to