README

Instractions

  1. git clone git@github.com:knsg16/process-img-api.git
  2. bundle install
  3. bundle exec rake db:create
  4. bundle exec rails s
  5. call http://localhost:3000/images?width=[width]&url?=[url]

example

http://localhost:3000/images?width=1000&url=https://tih-api.stb.gov.sg/media/v1/download/uuid/1019421ef43abd24d9d8c1b3739fe030933?apikey=j7v151wDBfGRtdHGzkj5ESG7RtDGnt5H