iridakos / duckrails

Development tool to mock API endpoints quickly and easily (docker image available)

Home Page:https://github.com/iridakos/duckrails/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request HTTP in ResponseBody

renatovieiradesouza opened this issue · comments

Is possible run request http with javascript into responseBody the of mock? I need to import other lib for decrypt content responseBody.

Hi @renasti ,

I am not sure I understand the question.

If you are using embedded ruby as body type then you can use the restclient methods to perform any number of external calls to another API.

I am use embedded javascript. It is possible with javascript? I need make a request other extern restapi.