vedicscriptures / bhagavad-gita-api

An opensource rest API on Vedic Scripture Shrimad Bhagavad Gita
https://vedicscriptures.github.io
GNU General Public License v3.0
168 stars 28 forks source link

Getting wrong SVG #11

Closed sauravgpt closed 3 years ago

sauravgpt commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://bhagavadgitaapi.in/gita.svg/1/1
  2. Then it must respond with SVG of Chapter 1 and Slok 1
  3. But I'm getting random SVG

Expected behavior It must respond with correct SVG.

Screenshots image

PtPrashantTripathi commented 3 years ago

Buddy for svg you have to send ch and sl values into the query not via param

Read this https://docs.bhagavadgitaapi.in/api-reference/get-gita.svg you will get it

sauravgpt commented 3 years ago

Oh it seems you have now updated the doc, Thanks man!