Closed harismuntazir closed 3 years ago
Try url encoding the requested url (you have two ?s, the second should already be url encoded).
second ? replaced with %3F & replaced with %26
The demo has been limited to work with only certain URLs for security reasons. You can deploy the app on your own infra to get all access.
I Tried to get this url https://url-to-pdf-api.herokuapp.com/api/render?url=https://egov.uok.edu.in/courseinfo/ugforms/prelogin/default2_wdsubnames.aspx?id=113994&courseyear=4
but it resulted in the following error..
{"status":400,"statusText":"Bad Request","errors":[{"field":["courseyear"],"location":"query","messages":["\"courseyear\" is not allowed"],"types":["object.allowUnknown"]}]}
What could be the problem